Add automoc property to updater
authorFelix Weilbach <felix.weilbach@t-online.de>
Mon, 1 Feb 2021 23:25:38 +0000 (00:25 +0100)
committerCamila (Rebase PR Action) <hello@camila.codes>
Tue, 2 Feb 2021 13:35:04 +0000 (13:35 +0000)
Signed-off-by: Felix Weilbach <felix.weilbach@t-online.de>
src/gui/CMakeLists.txt

index 6decf5ef6d9efb551a139acf2d8435bc632b4264..0107a9d6c2bcc2098ad19d213a19b61affce496f 100644 (file)
@@ -336,6 +336,7 @@ IF(BUILD_UPDATER)
     add_library(updater STATIC ${updater_SRCS})
     target_link_libraries(updater ${synclib_NAME} ${updater_DEPS} Qt5::Widgets Qt5::Svg Qt5::Network Qt5::Xml)
     target_include_directories(updater PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
+    set_target_properties(updater PROPERTIES AUTOMOC ON)
 endif()
 
 set_target_properties( ${APPLICATION_EXECUTABLE} PROPERTIES