We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55eb3ab commit 2ba3024Copy full SHA for 2ba3024
CMakeLists.txt
@@ -30,7 +30,8 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
30
set(CMAKE_CXX_EXTENSIONS OFF)
31
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
32
33
-if(NOT CMAKE_BUILD_TYPE)
+if(NOT CMAKE_BUILD_TYPE MATCHES "Debug|Devel|MinSizeRel|RelWithDebInfo|Release")
34
+ message(STATUS "CMAKE_BUILD_TYPE not set, defaulting to Debug.")
35
set(CMAKE_BUILD_TYPE Debug)
36
endif()
37
0 commit comments