summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2011-01-20 15:17:00 -0200
committerHugo Parente Lima <hugo.pl@gmail.com>2012-03-08 16:51:47 -0300
commite9d1dc38e2940a2b25e8eb1060a4945f2c20b04c (patch)
tree0c198288713b594d97b168487608157eca7791d6
parent810207dfe43140dddbebea5f1069a3d90fd1dc7a (diff)
Use the same Python used by Shiboken instead of find a new one.
-rw-r--r--tests/pysidetest/CMakeLists.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/pysidetest/CMakeLists.txt b/tests/pysidetest/CMakeLists.txt
index 61ee424e..0ce9da9b 100644
--- a/tests/pysidetest/CMakeLists.txt
+++ b/tests/pysidetest/CMakeLists.txt
@@ -2,7 +2,6 @@ project(pysidetest)
project(testbinding)
cmake_minimum_required(VERSION 2.6)
-find_package(PythonLibs REQUIRED)
set(QT_USE_QTCORE 1)
include(${QT_USE_FILE})
@@ -50,7 +49,7 @@ include_directories(${CMAKE_CURRENT_SOURCE_DIR}
${QtCore_BINARY_DIR}/PySide/QtCore
${QtGui_BINARY_DIR}/PySide/QtGui
${libpyside_SOURCE_DIR}
- ${PYTHON_INCLUDE_PATH})
+ ${SHIBOKEN_PYTHON_INCLUDE_DIR})
add_library(pysidetest SHARED ${pysidetest_SRC} ${pysidetest_MOC_SRC})
target_link_libraries(pysidetest ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY})