mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-24 14:05:58 +03: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
2 changed files with 1 additions and 5 deletions
|
@ -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 a new issue