1
0
Fork 0

Only set AUTOMOC for fglauncher target.

(Avoids pointless noise for all other targets)
This commit is contained in:
James Turner 2015-01-07 09:38:02 +00:00
parent 1ba62acfcc
commit 72e0ea9e40
2 changed files with 4 additions and 4 deletions

View file

@ -284,7 +284,6 @@ find_package(Qt5 5.1 COMPONENTS Widgets)
if (Qt5Widgets_FOUND)
message(STATUS "Will enable Qt launcher GUI")
set(HAVE_QT 1)
set(CMAKE_AUTOMOC ON)
endif()
##############################################################################

View file

@ -84,6 +84,7 @@ if (HAVE_QT)
${uic_sources}
${qrc_sources})
set_property(TARGET fglauncher PROPERTY AUTOMOC ON)
target_link_libraries(fglauncher Qt5::Core Qt5::Widgets )