Skip to content

Commit 172c3c0

Browse files
committed
CMake: Switch default build type to Release
1 parent 965de9d commit 172c3c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CMakeLists.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -130,9 +130,9 @@ add_feature_info("Coverage" ENABLE_COVERAGE "analyze test coverage and generate
130130
# -DDEBUG for debug builds. We'll do this for all OSes, even
131131
# though only MacOS requires it.
132132
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -DDEBUG")
133-
# Make sure we've picked some build type, default to debug
133+
# Make sure we've picked some build type, default to release
134134
if(NOT DEFINED CMAKE_BUILD_TYPE OR CMAKE_BUILD_TYPE STREQUAL "")
135-
set(CMAKE_BUILD_TYPE "Debug")
135+
set(CMAKE_BUILD_TYPE "Release")
136136
endif()
137137

138138
############## PROCESS src/ DIRECTORIES ##############

0 commit comments

Comments
 (0)