Skip to content

Commit

Permalink
Don't force CMAKE_BUILD_TYPE
Browse files Browse the repository at this point in the history
  • Loading branch information
AMDmi3 committed Dec 22, 2011
1 parent fca075a commit d7107f2
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ Set (VERSION "0.15")

# Default definitions
add_definitions(-Wall -Wextra -Wno-unused -Wshadow -Woverloaded-virtual)
if (NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE "Release")
endif()
if(CMAKE_BUILD_TYPE STREQUAL "Release")
set(CMAKE_CXX_FLAGS_RELEASE "-O2 -g0")
elseif(CMAKE_BUILD_TYPE STREQUAL "RelWithDebInfo")
Expand Down

0 comments on commit d7107f2

Please sign in to comment.