CMake: use find_package (SWIG) for cmake >= 3.0.0
authorEneas U de Queiroz <cote2004-github@yahoo.com>
Tue, 31 Jul 2018 20:44:57 +0000 (17:44 -0300)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Mon, 5 Nov 2018 21:10:48 +0000 (22:10 +0100)
commitfcda9c6a208d3a7fe651ef661b2eb6e462a89c17
tree5dde04d8fc5c3fad89c616b735f9ca09855d9efa
parent91dbb659016da3166c3e11bb8f83d7aa5b93f4d6
CMake: use find_package (SWIG) for cmake >= 3.0.0

There's a workaround for a bug (fixed in cmake 3.0.0) that does not
work in CMake 3.12.  Only use the workaround with cmake < 3.0.0.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
python/CMakeLists.txt