aboutsummaryrefslogtreecommitdiffstats
path: root/cmake/Macros
diff options
context:
space:
mode:
authorMarcelo Lira <marcelo.lira@openbossa.org>2011-02-04 16:05:12 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2012-03-08 16:53:53 -0300
commit93bd129cfb95aefb1fbbfbaeb4da614c95dce1d6 (patch)
treed9eee9f4f8dad073179368bf86454105ce241773 /cmake/Macros
parent8a628bf8324ac79b7651b870c18813aec3320d7f (diff)
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 060f4a6d8..44ea8ea15 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}