[MMEBUDDY][MMIXER] Fix NDEBUG support (#7039)

- Remove unwanted value.
- Use add_compile_definitions().
- NDEBUG "depends" on DBG.
This commit is contained in:
Serge Gautherie 2024-07-20 12:05:56 +02:00 committed by GitHub
parent c1c91f2a1a
commit c7a4984595
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 9 additions and 6 deletions

View file

@ -1,7 +1,9 @@
add_definitions(
-DUNICODE -D_UNICODE
-DNDEBUG=1)
-DUNICODE -D_UNICODE)
if(DBG)
add_compile_definitions(NDEBUG)
endif()
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/libs/sound)

View file

@ -1,7 +1,9 @@
add_definitions(
-DUNICODE -D_UNICODE
-DNDEBUG=1)
-DUNICODE -D_UNICODE)
if(DBG)
add_compile_definitions(NDEBUG)
endif()
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/libs/sound)