Make compiler required when option is on, removed unused def
authorClaudio Cambra <claudio.cambra@gmail.com>
Wed, 5 Jan 2022 11:42:47 +0000 (12:42 +0100)
committerMatthieu Gallien (Rebase PR Action) <matthieu_gallien@yahoo.fr>
Fri, 7 Jan 2022 17:48:31 +0000 (17:48 +0000)
Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
CMakeLists.txt
src/gui/CMakeLists.txt

index 26371b6d87ccece7f306e5a0837048b95c2d014a..e6e16b7e1441de13fa3cfd5a42ea612f455a37f2 100644 (file)
@@ -83,10 +83,6 @@ add_definitions(
     -DQT_MESSAGELOGCONTEXT #enable function name and line number in debug output
 )
 
-if(QUICK_COMPILER)
-    add_definitions(-DQUICK_COMPILER) # Enable use of QtQuick compiler
-endif()
-
 # if we cannot get it from git, directly try .tag (packages)
 # this will work if the tar balls have been properly created
 # via git-archive.
index 8651be07642f178ceec9ff1031e0b87d819f4c66..3a63eae550283c5078dadbc95f6a73f23f4dda58 100644 (file)
@@ -5,7 +5,7 @@ if(QUICK_COMPILER)
         find_package(Qt5QuickCompiler)
         set_package_properties(Qt5QuickCompiler PROPERTIES
                 DESCRIPTION "Compile QML at build time"
-                TYPE OPTIONAL
+                TYPE REQUIRED
         )
 endif()