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:
Martchus 2024-04-13 16:50:59 +02:00
parent 06ae52d0d8
commit cabeca7756
1 changed files with 5 additions and 0 deletions

View File

@ -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