Don't build the Qt Quick GUI by default for Windows and Apple platforms
It uses Kirigami which is probably not present/wanted on those platforms.
This commit is contained in:
parent
06ae52d0d8
commit
cabeca7756
|
@ -120,6 +120,11 @@ find_package(c++utilities${CONFIGURATION_PACKAGE_SUFFIX} 5.6.0 REQUIRED)
|
|||
use_cpp_utilities()
|
||||
|
||||
# apply basic configuration
|
||||
set(BUILD_QUICK_GUI_BY_DEFAULT ON)
|
||||
if (WIN32 OR APPLE)
|
||||
set(BUILD_QUICK_GUI_BY_DEFAULT OFF)
|
||||
endif ()
|
||||
option(QUICK_GUI "enables/disables building the Qt Quick GUI using Kirigami" "${BUILD_QUICK_GUI_BY_DEFAULT}")
|
||||
include(BasicConfig)
|
||||
|
||||
# find qtutilities
|
||||
|
|
Loading…
Reference in New Issue