diff options
author | Marcelo Lira <marcelo.lira@openbossa.org> | 2010-07-21 17:10:48 -0300 |
---|---|---|
committer | Marcelo Lira <marcelo.lira@openbossa.org> | 2010-07-21 17:15:14 -0300 |
commit | e5042dc193bbcb4b1566594d832076adfef5fd94 (patch) | |
tree | 54ab6fc2b853deb7323b54d64447a53f942ef444 /CMakeLists.txt | |
parent | cb7d3e95a27392e504f3b99deacddb3a3e0a8a56 (diff) |
Added a custom cmake file to help finding Python debug provisions.
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 61a6116eb..d601f840b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,6 +4,9 @@ project(pysidebindings) cmake_minimum_required(VERSION 2.6) +set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/Modules/ + ${CMAKE_MODULE_PATH}) + if(CMAKE_HOST_UNIX) option(ENABLE_GCC_OPTIMIZATION "Enable specific GCC flags to optimization library size and performance. Only available on Release Mode" 0) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -fvisibility=hidden -Wno-strict-aliasing") @@ -34,7 +37,7 @@ if(AVOID_PROTECTED_HACK OR WIN32) endif() find_package(PythonLibs REQUIRED) -find_package(PythonInterp REQUIRED) +find_package(PythonInterpWithDebug REQUIRED) find_package(Shiboken 0.3.3 REQUIRED) find_package(Qt4 4.5.0 REQUIRED) |