1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-09 23:34:20 +00:00

CMake (MSVC): Make Zi default debug info flag

This restores the original debug-flag for CMake builds on Windows.
This commit is contained in:
Oliver James 2025-06-18 11:47:41 +01:00
parent 20b6a2c290
commit 4a79bc5cfd
2 changed files with 32 additions and 1 deletions

View file

@ -134,7 +134,7 @@ if((CMAKE_CXX_COMPILER_ID STREQUAL "MSVC") OR (CMAKE_CXX_COMPILER_FRONTEND_VARIA
endif()
if(needs_debug_flag)
target_compile_options(juce_recommended_config_flags INTERFACE $<${debug_config}:/Z7>)
target_compile_options(juce_recommended_config_flags INTERFACE $<${debug_config}:/Zi>)
endif()
elseif((CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
OR (CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang")