From b110f0f96c34bc5b3c3f220029ccd031fd4129d0 Mon Sep 17 00:00:00 2001 From: DaanDeMeyer Date: Sat, 24 Mar 2018 17:34:01 +0100 Subject: [PATCH] Change default cmake build type to Release --- cmake/DefaultCMakeBuildType.cmake | 4 ---- 1 file changed, 4 deletions(-) diff --git a/cmake/DefaultCMakeBuildType.cmake b/cmake/DefaultCMakeBuildType.cmake index 89ea3ede..ae440bf5 100644 --- a/cmake/DefaultCMakeBuildType.cmake +++ b/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)