summaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorRenato Araujo Oliveira Filho <renato.filho@openbossa.org>2011-02-09 12:26:23 -0300
committerRenato Araujo Oliveira Filho <renato.filho@openbossa.org>2011-02-09 15:46:10 -0300
commit88c38236d4cbbbcff1fa4f0e34b6249796a370c7 (patch)
treebc5aed6ef0be537806740f05adea016ca0f450b2 /cmake
parent8e4b414844c66b07fdbd22d92d0261519f0edde5 (diff)
downloadpyside-88c38236d4cbbbcff1fa4f0e34b6249796a370c7.tar.gz
pyside-88c38236d4cbbbcff1fa4f0e34b6249796a370c7.tar.xz
pyside-88c38236d4cbbbcff1fa4f0e34b6249796a370c7.zip
Fix append object description on typesystem only when this was found.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Hugo Parente Lima <hugo.pl@gmail.com>
Diffstat (limited to 'cmake')
-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 4476eb4..9739bc4 100644
--- a/cmake/Macros/PySideModules.cmake
+++ b/cmake/Macros/PySideModules.cmake
@@ -73,7 +73,6 @@ macro(check_qt_class module class global_sources commom_xml)
else ()
set (include_file ${module})
endif ()
- append_class_xml(${commom_xml} "${CMAKE_CURRENT_SOURCE_DIR}/optional/${class}.xml")
string(TOLOWER ${class} _class)
string(TOUPPER ${module} _module)
if (_namespace)
@@ -111,6 +110,7 @@ macro(check_qt_class module class global_sources commom_xml)
if(Q_WORKS)
message(STATUS "Checking for ${class} in ${module} -- found")
list(APPEND ${global_sources} ${_cppfile})
+ append_class_xml(${commom_xml} "${CMAKE_CURRENT_SOURCE_DIR}/optional/${class}.xml")
else()
message(STATUS "Checking for ${class} in ${module} -- not found")
endif()