[CMAKE] Fix definition of NDEBUG on MSVC release builds

Prevents redefinition warnings.
This commit is contained in:
Timo Kreuzer 2024-11-16 13:33:01 +02:00
parent c7d1aa3e92
commit 7a15da2a8c

View file

@ -167,7 +167,7 @@ endif()
if(NOT (_PREFAST_ OR _VS_ANALYZE_))
add_compile_options($<$<CONFIG:Debug>:/Zi>)
endif()
add_compile_definitions($<$<CONFIG:Release>:NDEBUG>)
add_compile_definitions($<$<CONFIG:Release>:NDEBUG=>)
# Hotpatchable images
if(ARCH STREQUAL "i386")