Setting -DNDEBUG is redundant.
This commit is contained in:
parent
b82d779119
commit
25c75a6211
@ -29,9 +29,6 @@ set(CMAKE_CXX_EXTENSIONS OFF)
|
||||
|
||||
include(debug_flags)
|
||||
|
||||
# Disable debug log.
|
||||
if(NOT ${CMAKE_BUILD_TYPE} STREQUAL "Debug")
|
||||
add_definitions("-DNDEBUG")
|
||||
endif()
|
||||
|
||||
add_subdirectory(src)
|
||||
|
Loading…
x
Reference in New Issue
Block a user