summaryrefslogtreecommitdiffstats
path: root/cmake/Macros
diff options
context:
space:
mode:
authorMarcelo Lira <marcelo.lira@openbossa.org>2011-02-04 16:05:12 -0300
committerMarcelo Lira <marcelo.lira@openbossa.org>2011-02-04 18:07:51 -0300
commit2f6af8142da6b329ece08f2bdb7e3ee4eef9e080 (patch)
treee037c1e893747360c78b500732c3ab5ec4e68d5a /cmake/Macros
parent233c0333e684fc02c1b75e6ddbb1567dfd6e0b89 (diff)
downloadpyside-2f6af8142da6b329ece08f2bdb7e3ee4eef9e080.tar.gz
pyside-2f6af8142da6b329ece08f2bdb7e3ee4eef9e080.tar.xz
pyside-2f6af8142da6b329ece08f2bdb7e3ee4eef9e080.zip
The global header for PySide is now installed with the libpyside headers.
This is good for PySide derived bindings (like the ones for QtMobility), so they don't need to copy the PySide global headers to their source tree and end up with an outdated file. Reviewed by Hugo Parente <hugo.lima@openbossa.org> Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Diffstat (limited to 'cmake/Macros')
-rw-r--r--cmake/Macros/PySideModules.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/Macros/PySideModules.cmake b/cmake/Macros/PySideModules.cmake
index 097ae20..005e6e8 100644
--- a/cmake/Macros/PySideModules.cmake
+++ b/cmake/Macros/PySideModules.cmake
@@ -9,7 +9,7 @@ macro(create_pyside_module module_name module_include_dir module_libraries modul
add_custom_command(OUTPUT ${${module_sources}}
COMMAND ${GENERATORRUNNER_BINARY} ${GENERATOR_EXTRA_FLAGS}
- ${CMAKE_BINARY_DIR}/PySide/global.h
+ ${pyside_BINARY_DIR}/pyside_global.h
--include-paths=${pyside_SOURCE_DIR}${PATH_SEP}${QT_INCLUDE_DIR}
--typesystem-paths=${pyside_SOURCE_DIR}${PATH_SEP}${${module_typesystem_path}}
--output-directory=${CMAKE_CURRENT_BINARY_DIR}