From e323cd90f7922ffa8d0121b87c3a00c6706e0dd0 Mon Sep 17 00:00:00 2001 From: Marcelo Lira Date: Mon, 21 Jun 2010 15:21:25 -0300 Subject: PySide now installs its type system files. The pyside.pc file now has a "typesystemdir" variable pointing to the directory where the type system files are installed. Example usage: pkg-config pyside --variable=typesystemdir Also set the "PYSIDE_TYPESYSTEMS" CMake variable on libpyside/PySideConfig.cmake.in to point to the same path of pkg-config's "typesystemdir". Reviewed by Hugo Parente Reviewed by Luciano Wolf --- PySide/QtGui/CMakeLists.txt | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'PySide/QtGui') diff --git a/PySide/QtGui/CMakeLists.txt b/PySide/QtGui/CMakeLists.txt index e9f44d784..db0fd9e49 100644 --- a/PySide/QtGui/CMakeLists.txt +++ b/PySide/QtGui/CMakeLists.txt @@ -494,3 +494,10 @@ add_dependencies(QtGui QtCore) install(FILES ${CMAKE_CURRENT_BINARY_DIR}/QtGui${CMAKE_DEBUG_POSTFIX}.so DESTINATION "${SITE_PACKAGE}/PySide") install(FILES ${CMAKE_CURRENT_BINARY_DIR}/PySide/QtGui/pyside_qtgui_python.h DESTINATION include/PySide/QtGui/) +install(FILES ${CMAKE_CURRENT_BINARY_DIR}/typesystem_gui.xml + ${CMAKE_CURRENT_SOURCE_DIR}/typesystem_gui_common.xml + ${CMAKE_CURRENT_SOURCE_DIR}/typesystem_gui_mac.xml + ${CMAKE_CURRENT_SOURCE_DIR}/typesystem_gui_maemo.xml + ${CMAKE_CURRENT_SOURCE_DIR}/typesystem_gui_x11.xml + DESTINATION share/PySide/typesystems) + -- cgit v1.2.3