summaryrefslogtreecommitdiffstats
path: root/cmake/Macros
diff options
context:
space:
mode:
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 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()