mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-31 11:17:20 +02:00
Merge branch 'bugfix/cmake_ndebug' into 'master'
cmake: fix setting NDEBUG definition Closes IDFGH-1305 See merge request idf/esp-idf!5165
This commit is contained in:
@ -42,7 +42,7 @@ if(CONFIG_COMPILER_DISABLE_GCC8_WARNINGS)
|
||||
endif()
|
||||
|
||||
if(CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_DISABLE)
|
||||
list(APPEND compile_definitions "NDEBUG")
|
||||
list(APPEND compile_definitions "-DNDEBUG")
|
||||
endif()
|
||||
|
||||
if(CONFIG_COMPILER_STACK_CHECK_MODE_NORM)
|
||||
|
Reference in New Issue
Block a user