1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
Last-Update: 2014-04-02
Forwarded: no
Author: Dmitry Smirnov <onlyjob@member.fsf.org>
Description: look for libpython2.7 (fixes FTBFS in presence of python3).
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -68,8 +68,11 @@
unset(ANTLR3C_FOUND)
endif ()
endif ()
+set(Python_ADDITIONAL_VERSIONS "2.7")
+#include(FindPythonLibs)
+
# In Ubuntu 13.04, the built-in check for python fails.. so we have to resort to the check with pkg-config (which doesn't work in many distros)
find_package(PythonLibs 2.6)
if (NOT PYTHONLIBS_FOUND)
pkg_check_modules(PYTHON REQUIRED python)
|