Updated PySide cmake files to use Python library information from Shiboken.

Shiboken cmake files provides information about which Python library to
link against through cmake SHIBOKEN_PYTHON_LIBRARIES variable. It also
sets the Py_DEBUG flag if necessary.

Reviewed by Lauro Moura <lauro.neto@openbossa.org>
Reviewed by Renato Araujo <renato.filho@openbossa.org>
This commit is contained in:
Marcelo Lira 2010-10-25 18:23:03 -03:00
commit b0e9403d48
20 changed files with 19 additions and 29 deletions

View file

@ -17,7 +17,7 @@ include_directories(${CMAKE_CURRENT_SOURCE_DIR}
add_library(pyside SHARED ${libpyside_SRC})
target_link_libraries(pyside
${PYSIDE_PYTHON_LIBRARIES}
${SHIBOKEN_PYTHON_LIBRARIES}
${SHIBOKEN_LIBRARY}
${QT_QTCORE_LIBRARY})