diff options
author | Flamefire <git@grundis.de> | 2018-12-15 13:14:30 +0100 |
---|---|---|
committer | Flamefire <git@grundis.de> | 2018-12-15 16:40:26 +0100 |
commit | da6d1501629b36fa6aaefce45116b75b734a1a69 (patch) | |
tree | b48ef8252cd84c46ae784ee8a302783bf426c7b7 | |
parent | c998feb631ae9b51d5cf92ce43f685fa63811ef7 (diff) | |
download | libADLMIDI-da6d1501629b36fa6aaefce45116b75b734a1a69.tar.gz libADLMIDI-da6d1501629b36fa6aaefce45116b75b734a1a69.tar.bz2 libADLMIDI-da6d1501629b36fa6aaefce45116b75b734a1a69.zip |
Remove explicit -DNDEBUG
CMake does this better
-rw-r--r-- | CMakeLists.txt | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 2acb392..f990b44 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -45,11 +45,6 @@ if(NOT CMAKE_BUILD_TYPE) set(CMAKE_BUILD_TYPE "Release") endif() -string(TOLOWER ${CMAKE_BUILD_TYPE} CMAKE_BUILD_TYPE_LOWER) -if(CMAKE_BUILD_TYPE_LOWER EQUAL "release") - add_definitions(-DNDEBUG) -endif() - # Disable bogus MSVC warnings if(MSVC) add_definitions(-D_CRT_SECURE_NO_WARNINGS) |