Adding moc cpps to the link of Cyclop under Qt 5.
* Bug: In CRL::cyclop, on former versions of Qt 5 there was a double link of the moc generated modules. This appears to be solved under Ubuntu 10.04 LTS, so now we have to add them again explicitly.
This commit is contained in:
parent
435b647ddf
commit
5dd235b3cd
|
@ -21,9 +21,7 @@
|
||||||
|
|
||||||
link_directories ( ${CRLCORE_BINARY_DIR}/src/ccore )
|
link_directories ( ${CRLCORE_BINARY_DIR}/src/ccore )
|
||||||
|
|
||||||
if(NOT WITH_QT5)
|
|
||||||
list ( APPEND cpps ${mocCpps} )
|
list ( APPEND cpps ${mocCpps} )
|
||||||
endif()
|
|
||||||
|
|
||||||
add_executable ( cyclop ${cpps} )
|
add_executable ( cyclop ${cpps} )
|
||||||
target_link_libraries ( cyclop crlcore
|
target_link_libraries ( cyclop crlcore
|
||||||
|
|
Loading…
Reference in New Issue