Skip to content

libcec config deprecation: "SWIG_ADD_MODULE is deprecated. Use SWIG_ADD_LIBRARY instead." #481

@pgnd

Description

@pgnd

building libcec 4.0.4

git branch -a
	1 * (HEAD detached at libcec-4.0.4)
	2   master
	3   remotes/origin/HEAD -> origin/master
	4   remotes/origin/master
	5   remotes/origin/release

git log | head
	commit 3bbd4321618503d14008387a72fabb6743878831
	Author: Lars Op den Kamp <[email protected]>
	Date:   Fri Dec 21 22:34:45 2018 +0100

	    bump to 4.0.4

	commit f7593243377687c84c27b4e0342b00bb2ef2efbc
	Author: Lars Op den Kamp <[email protected]>
	Date:   Mon Dec 3 15:36:47 2018 +0100

with swig 3 installed,

dpkg --get-selections | grep swig
	swig                                            install
	swig3.0                                         install

apt-cache show swig swig3.0
	Package: swig
	Version: 3.0.12-2
	Architecture: armhf
	Maintainer: Torsten Landschoff <[email protected]>
	Installed-Size: 316
	Depends: swig3.0 (>= 3.0.12-2)
	...
	Filename: pool/main/s/swig/swig_3.0.12-2_armhf.deb
	...

	Package: swig3.0
	Source: swig
	Version: 3.0.12-2
	Architecture: armhf
	Maintainer: Torsten Landschoff <[email protected]>
	Installed-Size: 5294
	Depends: libc6 (>= 2.28), libgcc1 (>= 1:3.5), libpcre3, libstdc++6 (>= 4.3.0)
	...
	Filename: pool/main/s/swig/swig3.0_3.0.12-2_armhf.deb
	...

and

cmake --version
	cmake version 3.13.4

libcec config returns,

...
-- Found SWIG: /usr/bin/swig3.0 (found version "3.0.12")
CMake Deprecation Warning at /usr/share/cmake-3.13/Modules/UseSWIG.cmake:524 (message):
  SWIG_ADD_MODULE is deprecated.  Use SWIG_ADD_LIBRARY instead.
Call Stack (most recent call first):
  src/libcec/cmake/CheckPlatformSupport.cmake:190 (swig_add_module)
  src/libcec/CMakeLists.txt:134 (include)
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions