From f94a98b9c6fb0d2f0353272ba10dffd80bbc9a39 Mon Sep 17 00:00:00 2001 From: Philippe Teuwen Date: Sat, 18 Apr 2020 20:14:18 +0200 Subject: [PATCH] cmake qt5: no need for custom command if AUTOMOC? --- client/CMakeLists.txt | 6 ------ 1 file changed, 6 deletions(-) diff --git a/client/CMakeLists.txt b/client/CMakeLists.txt index 3c6c44767..ee7f6c7ad 100644 --- a/client/CMakeLists.txt +++ b/client/CMakeLists.txt @@ -232,12 +232,6 @@ if(NOT Qt5_FOUND) endif(NOT Qt5_FOUND) if (Qt5_FOUND) message("Qt5 library found, building gui :)") - - add_custom_command(OUTPUT src/proxguiqt.moc.cpp - COMMAND "$(MOC) -o src/proxguiqt.moc.cpp proxguiqt.h" - COMMENT "Creating src/proxguiqt.moc.cpp" - ) - set (TARGET_SOURCES src/proxgui.cpp src/proxguiqt.cpp