Skip to content

Commit d7107f2

Browse files
committed
Don't force CMAKE_BUILD_TYPE
1 parent fca075a commit d7107f2

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

CMakeLists.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@ Set (VERSION "0.15")
77

88
# Default definitions
99
add_definitions(-Wall -Wextra -Wno-unused -Wshadow -Woverloaded-virtual)
10-
if (NOT CMAKE_BUILD_TYPE)
11-
set(CMAKE_BUILD_TYPE "Release")
12-
endif()
1310
if(CMAKE_BUILD_TYPE STREQUAL "Release")
1411
set(CMAKE_CXX_FLAGS_RELEASE "-O2 -g0")
1512
elseif(CMAKE_BUILD_TYPE STREQUAL "RelWithDebInfo")

0 commit comments

Comments
 (0)