https://git.reactos.org/?p=reactos.git;a=commitdiff;h=7a15da2a8cad650c414d038eeaaea60f3004f5e2

commit 7a15da2a8cad650c414d038eeaaea60f3004f5e2
Author:     Timo Kreuzer <timo.kreu...@reactos.org>
AuthorDate: Sat Nov 16 13:33:01 2024 +0200
Commit:     Timo Kreuzer <timo.kreu...@reactos.org>
CommitDate: Sun Jan 19 09:02:58 2025 +0200

    [CMAKE] Fix definition of NDEBUG on MSVC release builds
    
    Prevents redefinition warnings.
---
 sdk/cmake/msvc.cmake | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sdk/cmake/msvc.cmake b/sdk/cmake/msvc.cmake
index eb4973914e0..16f3d3ea159 100644
--- a/sdk/cmake/msvc.cmake
+++ b/sdk/cmake/msvc.cmake
@@ -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")

Reply via email to