From: Claudio Cambra Date: Wed, 5 Jan 2022 11:42:47 +0000 (+0100) Subject: Make compiler required when option is on, removed unused def X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~17^2~212^2~2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=a1d42b4177846f6540ca72ae7c699f245515baf7;p=nextcloud-desktop.git Make compiler required when option is on, removed unused def Signed-off-by: Claudio Cambra --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 26371b6d8..e6e16b7e1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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. diff --git a/src/gui/CMakeLists.txt b/src/gui/CMakeLists.txt index 8651be076..3a63eae55 100644 --- a/src/gui/CMakeLists.txt +++ b/src/gui/CMakeLists.txt @@ -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()