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/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'PySide/CMakeLists.txt') diff --git a/PySide/CMakeLists.txt b/PySide/CMakeLists.txt index 3162cbb17..b1b328641 100644 --- a/PySide/CMakeLists.txt +++ b/PySide/CMakeLists.txt @@ -97,3 +97,8 @@ HAS_QT_MODULE(QT_QTSCRIPTTOOLS_FOUND QtScriptTools) HAS_QT_MODULE(QT_QTMULTIMEDIA_FOUND QtMultimedia) HAS_QT_MODULE(QT_PHONON_FOUND phonon) HAS_QT_MODULE(QT_QTDECLARATIVE_FOUND QtDeclarative) + +# install +install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/typesystem_templates.xml + DESTINATION share/PySide/typesystems) + -- cgit v1.2.3