diff --git a/CMakeLists.txt b/CMakeLists.txt index 07bf1c9..1a95115 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -197,6 +197,7 @@ configure_file ("${PROJECT_SOURCE_DIR}/version.h.in" "${PROJECT_SOURCE_DIR}/vers mark_as_advanced(FORCE CMAKE_BUILD_TYPE) if (RELEASE) set(CMAKE_BUILD_TYPE Release) + add_definitions(-DNDEBUG) else() set(CMAKE_BUILD_TYPE Debug) # add_definitions(-DDEBUG)