Commit f00cfadf authored by Rayan Chikhi's avatar Rayan Chikhi
Browse files

added DNDEBUG in non-debug mode

parent bf8f78b0
......@@ -116,7 +116,7 @@ if (debug)
set (CMAKE_BUILD_TYPE Debug) # else CMake adds DNDEBUG
message("-- COMPILATION IN DEBUG MODE")
else()
set (LIBRARY_COMPILE_DEFINITIONS "${LIBRARY_COMPILE_DEFINITIONS} -O3 ${LIB_COMPILE_WARNINGS}")
set (LIBRARY_COMPILE_DEFINITIONS "${LIBRARY_COMPILE_DEFINITIONS} -O3 -DNDEBUG ${LIB_COMPILE_WARNINGS}")
endif()
if (INT128_FOUND)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment