1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

CMake (MSVC): Make Z7 default debug info flag

This commit is contained in:
Oliver James 2025-03-12 17:06:48 +00:00 committed by Anthony Nicholls
parent 62028e6773
commit 04ed3559a6

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}:/Zi>)
target_compile_options(juce_recommended_config_flags INTERFACE $<${debug_config}:/Z7>)
endif()
elseif((CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
OR (CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang")