mirror of
https://github.com/chylex/Nextcloud-Desktop.git
synced 2025-04-09 19:15:43 +02:00
Make compiler required when option is on, removed unused def
Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
This commit is contained in:
parent
8ad04f5a5e
commit
a1d42b4177
@ -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.
|
||||
|
@ -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()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user