Check for any version of Python 2, instead of 2.7.

This commit is contained in:
Jean-Paul Chaput 2017-07-11 17:52:58 +02:00
parent a35eacef37
commit c339e5c9e3
15 changed files with 15 additions and 15 deletions

View File

@ -17,7 +17,7 @@
setup_boost()
setup_qt()
find_package(PythonLibs REQUIRED)
find_package(PythonLibs 2 REQUIRED)
find_package(PythonSitePackages REQUIRED)
find_package(VLSISAPD REQUIRED)
find_package(HURRICANE REQUIRED)

View File

@ -21,7 +21,7 @@
setup_qt()
find_package(LibXml2 REQUIRED)
find_package(PythonLibs 2.7 REQUIRED)
find_package(PythonLibs 2 REQUIRED)
find_package(PythonSitePackages REQUIRED)
find_package(BISON REQUIRED)
find_package(FLEX REQUIRED)

View File

@ -12,7 +12,7 @@
set_lib_link_mode()
setup_sysconfdir("${CMAKE_INSTALL_PREFIX}")
find_package(PythonLibs 2.7 REQUIRED)
find_package(PythonLibs 2 REQUIRED)
find_package(PythonSitePackages REQUIRED)
find_package(VLSISAPD REQUIRED)
find_package(HURRICANE REQUIRED)

View File

@ -16,7 +16,7 @@
set_lib_link_mode()
setup_boost(program_options python regex)
find_package(PythonLibs 2.7 REQUIRED)
find_package(PythonLibs 2 REQUIRED)
find_package(PythonSitePackages REQUIRED)
find_package(VLSISAPD REQUIRED)
find_package(HURRICANE REQUIRED)

View File

@ -21,7 +21,7 @@
find_package(BZip2 REQUIRED)
find_package(BISON REQUIRED)
find_package(FLEX REQUIRED)
find_package(PythonLibs 2.7 REQUIRED)
find_package(PythonLibs 2 REQUIRED)
find_package(PythonSitePackages REQUIRED)
find_package(VLSISAPD REQUIRED)
find_package(Libexecinfo REQUIRED)

View File

@ -17,7 +17,7 @@
find_package(LibXml2 REQUIRED)
set(QT_USE_QTXML "true")
find_package(Qt4 REQUIRED)
find_package(PythonLibs 2.7 REQUIRED)
find_package(PythonLibs 2 REQUIRED)
find_package(PythonSitePackages REQUIRED)
find_package(VLSISAPD REQUIRED)
find_package(HURRICANE REQUIRED)

View File

@ -17,7 +17,7 @@
setup_boost(program_options filesystem python regex)
setup_qt()
find_package(PythonLibs 2.7 REQUIRED)
find_package(PythonLibs 2 REQUIRED)
find_package(PythonSitePackages REQUIRED)
find_package(VLSISAPD REQUIRED)
find_package(HURRICANE REQUIRED)

View File

@ -19,7 +19,7 @@
find_package(Libexecinfo REQUIRED)
find_package(LibXml2 REQUIRED)
find_package(PythonLibs REQUIRED)
find_package(PythonLibs 2 REQUIRED)
find_package(PythonSitePackages REQUIRED)
find_package(LEFDEF REQUIRED)
find_package(VLSISAPD REQUIRED)

View File

@ -18,7 +18,7 @@
setup_qt()
find_package(LibXml2 REQUIRED)
find_package(PythonLibs 2.7 REQUIRED)
find_package(PythonLibs 2 REQUIRED)
find_package(PythonSitePackages REQUIRED)
find_package(VLSISAPD REQUIRED)
find_package(LEFDEF REQUIRED)

View File

@ -15,7 +15,7 @@
setup_boost(program_options filesystem regex python)
setup_qt()
find_package(PythonLibs 2.7 REQUIRED)
find_package(PythonLibs 2 REQUIRED)
find_package(PythonSitePackages REQUIRED)
find_package(VLSISAPD REQUIRED)
find_package(HURRICANE REQUIRED)

View File

@ -14,7 +14,7 @@
set_lib_link_mode()
setup_boost()
find_package(PythonLibs 2.7 REQUIRED)
find_package(PythonLibs 2 REQUIRED)
find_package(PythonSitePackages REQUIRED)
find_package(VLSISAPD REQUIRED)
find_package(HURRICANE REQUIRED)

View File

@ -14,7 +14,7 @@
setup_boost(program_options filesystem python regex)
setup_qt()
find_package(PythonLibs 2.7 REQUIRED)
find_package(PythonLibs 2 REQUIRED)
find_package(PythonSitePackages REQUIRED)
find_package(VLSISAPD REQUIRED)
find_package(HURRICANE REQUIRED)

View File

@ -17,7 +17,7 @@
set_lib_link_mode()
setup_sysconfdir("${CMAKE_INSTALL_PREFIX}")
find_package(PythonLibs 2.7 REQUIRED)
find_package(PythonLibs 2 REQUIRED)
find_package(PythonSitePackages REQUIRED)
find_package(VLSISAPD REQUIRED)
find_package(HURRICANE REQUIRED)

View File

@ -17,7 +17,7 @@
find_package(Libbfd)
find_package(LibXml2 REQUIRED)
find_package(PythonLibs 2.7 REQUIRED)
find_package(PythonLibs 2 REQUIRED)
find_package(PythonSitePackages REQUIRED)
find_package(LEFDEF REQUIRED)
find_package(COLOQUINTE)

View File

@ -16,7 +16,7 @@
find_package(LibXml2 REQUIRED)
find_package(PythonSitePackages REQUIRED)
find_package(PythonLibs 2.7 REQUIRED)
find_package(PythonLibs 2 REQUIRED)
find_package(BISON REQUIRED)
find_package(FLEX REQUIRED)
find_package(Doxygen)