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:
commit
2c55fae6cf
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue