aboutsummaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorRenato Araujo Oliveira Filho <renato.filho@openbossa.org>2011-02-09 12:26:23 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2012-03-08 16:53:55 -0300
commita1d4eb3d867a4434db076b572d615f028000a9d5 (patch)
tree782fce4e3a90e95649fdd74b14ff632d8233ea40 /cmake
parent811e37c378ee12dca738e57c640385c9e0546355 (diff)
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 2f695317f..516201c0d 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()