Skip to content

Commit

Permalink
Change default cmake build type to Release
Browse files Browse the repository at this point in the history
  • Loading branch information
DaanDeMeyer authored and jacobdufault committed Mar 24, 2018
1 parent ddc318e commit a566167
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions cmake/DefaultCMakeBuildType.cmake
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
# Set a default build type if none was specified
set(DEFAULT_CMAKE_BUILD_TYPE Release)
if(EXISTS ${CMAKE_SOURCE_DIR}/.git)
set(DEFAULT_CMAKE_BUILD_TYPE Debug)
endif()

# CMAKE_BUILD_TYPE is not available if a multi-configuration generator is used
# (eg Visual Studio generators)
Expand Down

0 comments on commit a566167

Please sign in to comment.