diff options
-rw-r--r-- | CMakeLists.txt | 2 | ||||
-rw-r--r-- | libshiboken/CMakeLists.txt | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 8a58de664..aeeaef090 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,6 +6,8 @@ cmake_minimum_required(VERSION 2.6) find_package(Qt4 4.5.0 REQUIRED) find_package(ApiExtractor 0.7 REQUIRED) find_package(GeneratorRunner 0.6 REQUIRED) +find_package(PythonLibs REQUIRED) +find_package(PythonInterp REQUIRED) add_definitions(${QT_DEFINITIONS}) diff --git a/libshiboken/CMakeLists.txt b/libshiboken/CMakeLists.txt index d39afc0f7..7a4576315 100644 --- a/libshiboken/CMakeLists.txt +++ b/libshiboken/CMakeLists.txt @@ -1,8 +1,5 @@ project(libshiboken) -find_package(PythonLibs REQUIRED) -find_package(PythonInterp REQUIRED) - #Find installed sparsehash find_path(SPARSEHASH_INCLUDE_PATH sparseconfig.h PATH_SUFFIXES "/google/sparsehash") if(SPARSEHASH_INCLUDE_PATH) |