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>2011-01-20 15:17:34 -0200
commit7f533799d442fbb1ffe5fb9be9a7174779d9e133 (patch)
tree1b4b17b51a2a6f098ce62a9b60d20daf0cdb33ce
parentf7a2ab3d6661c5492bfc5f35fe531d45c9cdb26c (diff)
downloadpyside-7f533799d442fbb1ffe5fb9be9a7174779d9e133.tar.gz
pyside-7f533799d442fbb1ffe5fb9be9a7174779d9e133.tar.xz
pyside-7f533799d442fbb1ffe5fb9be9a7174779d9e133.zip
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 61ee424..0ce9da9 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})