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>
This commit is contained in:
parent
811e37c378
commit
a1d4eb3d86
1 changed files with 1 additions and 1 deletions
|
|
@ -73,7 +73,6 @@ macro(check_qt_class module class global_sources commom_xml)
|
||||||
else ()
|
else ()
|
||||||
set (include_file ${module})
|
set (include_file ${module})
|
||||||
endif ()
|
endif ()
|
||||||
append_class_xml(${commom_xml} "${CMAKE_CURRENT_SOURCE_DIR}/optional/${class}.xml")
|
|
||||||
string(TOLOWER ${class} _class)
|
string(TOLOWER ${class} _class)
|
||||||
string(TOUPPER ${module} _module)
|
string(TOUPPER ${module} _module)
|
||||||
if (${namespace})
|
if (${namespace})
|
||||||
|
|
@ -111,6 +110,7 @@ macro(check_qt_class module class global_sources commom_xml)
|
||||||
if(Q_WORKS)
|
if(Q_WORKS)
|
||||||
message(STATUS "Checking for ${class} in ${module} -- found")
|
message(STATUS "Checking for ${class} in ${module} -- found")
|
||||||
list(APPEND ${global_sources} ${_cppfile})
|
list(APPEND ${global_sources} ${_cppfile})
|
||||||
|
append_class_xml(${commom_xml} "${CMAKE_CURRENT_SOURCE_DIR}/optional/${class}.xml")
|
||||||
else()
|
else()
|
||||||
message(STATUS "Checking for ${class} in ${module} -- not found")
|
message(STATUS "Checking for ${class} in ${module} -- not found")
|
||||||
endif()
|
endif()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue