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:
Jean-Paul Chaput 2019-03-21 13:27:43 +01:00
parent 435b647ddf
commit 5dd235b3cd
1 changed files with 0 additions and 2 deletions

View File

@ -21,9 +21,7 @@
link_directories ( ${CRLCORE_BINARY_DIR}/src/ccore )
if(NOT WITH_QT5)
list ( APPEND cpps ${mocCpps} )
endif()
add_executable ( cyclop ${cpps} )
target_link_libraries ( cyclop crlcore