From d0400b1cb853f0287269045d6170b47644c33b44 Mon Sep 17 00:00:00 2001 From: Alexandru Croitor Date: Mon, 9 Mar 2020 13:37:41 +0100 Subject: CMake: Disable framework builds on macOS when target config is Debug This prevents Coin from trying to automatically enable the framework feature when no configuration is specified on the command line. By default if no configuration is specified, and there's a .git subfolder, "Debug" will be the chosen config, and that would conflict with the framework feature, which would cause configuration to fail. Change-Id: Ia9db3e8178794737692307b4662a2e77cc574ccd Reviewed-by: Leander Beernaert Reviewed-by: Alexandru Croitor Reviewed-by: Qt CI Bot --- configure.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure.cmake') diff --git a/configure.cmake b/configure.cmake index c70d1892aa..6458264a61 100644 --- a/configure.cmake +++ b/configure.cmake @@ -399,7 +399,7 @@ qt_feature("headersclean" qt_feature_config("headersclean" QMAKE_PRIVATE_CONFIG) qt_feature("framework" PUBLIC LABEL "Build Apple Frameworks" - CONDITION APPLE AND BUILD_SHARED_LIBS + CONDITION APPLE AND BUILD_SHARED_LIBS AND NOT CMAKE_BUILD_TYPE STREQUAL Debug ) qt_feature_definition("framework" "QT_MAC_FRAMEWORK_BUILD") qt_feature_config("framework" QMAKE_PUBLIC_QT_CONFIG -- cgit v1.2.3