From d7cc6b571955d63a72d8dbc6bb91fc597c018f01 Mon Sep 17 00:00:00 2001 From: Dominik Schmidt Date: Tue, 30 Oct 2018 19:38:10 +0100 Subject: [PATCH] Let AUTOMOC and AUTOUIC process generated files --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index e639fd21a..acfe8e111 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,6 +7,9 @@ CMAKE_POLICY(SET CMP0022 NEW) # Update to NEW and fix things up CMAKE_POLICY(SET CMP0023 OLD) +# Let AUTOMOC and AUTOUIC process generated files +CMAKE_POLICY(SET CMP0071 NEW) + # TODO: # Disable automatic qtmain linking CMAKE_POLICY(SET CMP0020 OLD)