Skip to content

Instantly share code, notes, and snippets.

@torarnv
Created June 20, 2024 11:01
Show Gist options
  • Save torarnv/1e34fc5d09997768cc0e23191326be86 to your computer and use it in GitHub Desktop.
Save torarnv/1e34fc5d09997768cc0e23191326be86 to your computer and use it in GitHub Desktop.
diff --git i/cmake/QtTargetHelpers.cmake w/cmake/QtTargetHelpers.cmake
index 784630b45b1..2619399d667 100644
--- i/cmake/QtTargetHelpers.cmake
+++ w/cmake/QtTargetHelpers.cmake
@@ -508,8 +508,11 @@ function(qt_internal_setup_cmake_config_postfix)
# Avoid setting a suffix for framework builds, as the
# libraries inside the framework are always unsuffixed,
# and we want to match that for plugins/static libs.
- if(NOT QT_FEATURE_framework)
+ if(NOT QT_FEATURE_framework AND NOT FEATURE_framework)
set(default_cmake_debug_postfix "_debug")
+ message(WARNING "!!! Setting debug suffix")
+ else()
+ message(WARNING "Not setting debug suffix")
endif()
endif()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment