Browse Source

Change default cmake build type to Release

pull/517/head
DaanDeMeyer 7 years ago
committed by Fangrui Song
parent
commit
b110f0f96c
  1. 4
      cmake/DefaultCMakeBuildType.cmake

4
cmake/DefaultCMakeBuildType.cmake

@ -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)

Loading…
Cancel
Save