From 5dd235b3cd80802435deff5236b59d454b2a47b7 Mon Sep 17 00:00:00 2001 From: Jean-Paul Chaput Date: Thu, 21 Mar 2019 13:27:43 +0100 Subject: [PATCH] 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. --- crlcore/src/cyclop/CMakeLists.txt | 2 -- 1 file changed, 2 deletions(-) diff --git a/crlcore/src/cyclop/CMakeLists.txt b/crlcore/src/cyclop/CMakeLists.txt index a8352187..ecedb60c 100644 --- a/crlcore/src/cyclop/CMakeLists.txt +++ b/crlcore/src/cyclop/CMakeLists.txt @@ -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