cmake: Use LXQtCompilerSettings
authorLuís Pereira <luis.artur.pereira@gmail.com>
Tue, 5 Dec 2017 19:15:00 +0000 (19:15 +0000)
committerAlf Gaida <agaida@siduction.org>
Fri, 8 Dec 2017 23:17:28 +0000 (00:17 +0100)
It leads to a smaller executable size.

CMakeLists.txt

index 0abcd64..022fa11 100644 (file)
@@ -51,6 +51,7 @@ add_definitions("-DOBCONFQT_VERSION=\"${OBCONFQT_VERSION}\"")
 include(LXQtTranslateTs)
 include(LXQtTranslateDesktop)
 include(LXQtCompilerSettings)
+include(LXQtCompilerSettings NO_POLICY_SCOPE)
 
 # add src subdirectory
 add_subdirectory(src)