build: Always set CMAKE_MSVC_DEBUG_INFORMATION_FORMAT

This commit is contained in:
WerWolv
2025-07-23 10:58:53 +02:00
parent b68d0704e7
commit 48980a1e0c

View File

@@ -430,9 +430,7 @@ macro(configureCMake)
set(CMAKE_POSITION_INDEPENDENT_CODE ON CACHE BOOL "Enable position independent code for all targets" FORCE)
if (MSVC)
set(CMAKE_MSVC_DEBUG_INFORMATION_FORMAT "$<$<CONFIG:Debug,RelWithDebInfo>:Embedded>")
endif()
set(CMAKE_MSVC_DEBUG_INFORMATION_FORMAT "$<$<CONFIG:Debug,RelWithDebInfo>:Embedded>")
# Configure use of recommended build tools
if (IMHEX_USE_DEFAULT_BUILD_SETTINGS)