Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
pgnd opened this issue Nov 20, 2019 · 0 comments

Comments

@pgnd
Copy link

pgnd commented Nov 20, 2019

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)
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant