diff options
author | Wohlstand <admin@wohlnet.ru> | 2023-05-16 04:37:57 +0300 |
---|---|---|
committer | Wohlstand <admin@wohlnet.ru> | 2023-05-16 04:37:57 +0300 |
commit | 6a82ca879a503ac6428f98aabef03b2552c1ed30 (patch) | |
tree | 8edd642e70570e11cd8877188088ac814724bf9b /CMakeLists.txt | |
parent | 3b66f8d34c5b6c156dc3d30320c6ae92fe3418cd (diff) | |
download | libADLMIDI-6a82ca879a503ac6428f98aabef03b2552c1ed30.tar.gz libADLMIDI-6a82ca879a503ac6428f98aabef03b2552c1ed30.tar.bz2 libADLMIDI-6a82ca879a503ac6428f98aabef03b2552c1ed30.zip |
CMake: Remove the auto-"Release"
This makes a pain to package managers who needs to specify an own set of optimisations using CMAKE_BUILD_TYPE=None way.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index fee23ff..eeedcc8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -101,10 +101,6 @@ if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMPILER_IS_GNUCXX OR CMAKE_C_COMPILER_ID ST set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++98") endif() -if(NOT CMAKE_BUILD_TYPE) - set(CMAKE_BUILD_TYPE "Release") -endif() - # Disable bogus MSVC warnings if(MSVC) add_definitions(-D_CRT_SECURE_NO_WARNINGS) |