Skip to content

Commit 7a15da2

Browse files
committed
[CMAKE] Fix definition of NDEBUG on MSVC release builds
Prevents redefinition warnings.
1 parent c7d1aa3 commit 7a15da2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sdk/cmake/msvc.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ endif()
167167
if(NOT (_PREFAST_ OR _VS_ANALYZE_))
168168
add_compile_options($<$<CONFIG:Debug>:/Zi>)
169169
endif()
170-
add_compile_definitions($<$<CONFIG:Release>:NDEBUG>)
170+
add_compile_definitions($<$<CONFIG:Release>:NDEBUG=>)
171171

172172
# Hotpatchable images
173173
if(ARCH STREQUAL "i386")

0 commit comments

Comments
 (0)