summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2010-10-28 17:03:33 -0200
committerHugo Parente Lima <hugo.pl@gmail.com>2010-10-28 17:03:33 -0200
commitb9811b773a13f83d7d3cae793e04088915da988e (patch)
tree016b5487bafee915d9d92fdffe867e6717f04cb8
parent42e83525db3da45b38b097825c736b2c733e9cf2 (diff)
downloadpyside-b9811b773a13f83d7d3cae793e04088915da988e.tar.gz
pyside-b9811b773a13f83d7d3cae793e04088915da988e.tar.xz
pyside-b9811b773a13f83d7d3cae793e04088915da988e.zip
Fix bug#438 - "Can't find Python.h on OS X"
-rw-r--r--plugins/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/CMakeLists.txt b/plugins/CMakeLists.txt
index 58beca9..b17dbc2 100644
--- a/plugins/CMakeLists.txt
+++ b/plugins/CMakeLists.txt
@@ -12,7 +12,7 @@ set (ui_plugin_moc
include_directories(${QT_QTDESIGNER_INCLUDE_DIR}
${SHIBOKEN_INCLUDE_DIR}
- ${PYTHON_INCLUDE_PATH})
+ ${SHIBOKEN_PYTHON_INCLUDE_DIR})
QT4_WRAP_CPP(MOC_FILES ${ui_plugin_moc})
add_library(uiplugin STATIC ${ui_plugin_src} ${MOC_FILES})
@@ -21,7 +21,7 @@ add_definitions(-DQT_STATICPLUGIN)
target_link_libraries(uiplugin
${QT_QTUITOOLS_LIBRARY}
${SHIBOKEN_LIBRARY}
- ${PYTHON_LIBRARY})
+ ${SHIBOKEN_PYTHON_LIBRARY})
if (CMAKE_BUILD_TYPE STREQUAL "Debug")
set(LIBRARY_OUTPUT_SUFFIX ${CMAKE_DEBUG_POSTFIX})
else()