summaryrefslogtreecommitdiffstats
path: root/libpyside/PySideConfig-spec.cmake.in
diff options
context:
space:
mode:
authorRenato Araujo Oliveira Filho <renato.filho@openbossa.org>2011-01-11 17:58:52 -0300
committerRenato Araujo Oliveira Filho <renato.filho@openbossa.org>2011-01-12 17:27:42 -0300
commitb8fcead6295624ad9166a0e37ec672d2323acad8 (patch)
tree686cc4cb659ff5521f205fed25d6482811177f85 /libpyside/PySideConfig-spec.cmake.in
parented0d9cf82066496a0cc8e9a0bf6de58c81f535c0 (diff)
downloadpyside-b8fcead6295624ad9166a0e37ec672d2323acad8.tar.gz
pyside-b8fcead6295624ad9166a0e37ec672d2323acad8.tar.xz
pyside-b8fcead6295624ad9166a0e37ec672d2323acad8.zip
Use python base name as library prefix.
Use the same CMAKE_BUILD_TYPE as shiboken if none was specified. Append SHIBOKEN_PYTHON_BASENAME in the library suffix. Fix bug #509. Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Lauro Moura <lauro.neto@openbossa.org>
Diffstat (limited to 'libpyside/PySideConfig-spec.cmake.in')
-rw-r--r--libpyside/PySideConfig-spec.cmake.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/libpyside/PySideConfig-spec.cmake.in b/libpyside/PySideConfig-spec.cmake.in
new file mode 100644
index 0000000..b5b73dc
--- /dev/null
+++ b/libpyside/PySideConfig-spec.cmake.in
@@ -0,0 +1,9 @@
+# PYSIDE_INCLUDE_DIR - Directories to include to use PySide
+# PYSIDE_LIBRARY - Files to link against to use PySide
+# PYSIDE_PYTHONPATH - Path to where the PySide Python module files could be found
+# PYSIDE_TYPESYSTEMS - Type system files that should be used by other bindings extending PySide
+
+SET(PYSIDE_INCLUDE_DIR "@CMAKE_INSTALL_PREFIX@/include/PySide@pyside_SUFFIX@")
+SET(PYSIDE_LIBRARY "@LIB_INSTALL_DIR@/@CMAKE_SHARED_LIBRARY_PREFIX@pyside@pyside_SUFFIX@@LIBRARY_OUTPUT_SUFFIX@@CMAKE_SHARED_LIBRARY_SUFFIX@")
+SET(PYSIDE_PYTHONPATH "@SITE_PACKAGE@")
+SET(PYSIDE_TYPESYSTEMS "@CMAKE_INSTALL_PREFIX@/share/PySide@pyside_SUFFFIX@/typesystems")