]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/CMakeLists.txt
import ceph quincy 17.2.1
[ceph.git] / ceph / src / CMakeLists.txt
index 30cf3605468e7d094e5a49304ed8dfbf5ceb9460..83a90e4ecba6ba7c884316c4f06f657955f699da 100644 (file)
@@ -158,12 +158,6 @@ elseif(CMAKE_CXX_COMPILER_ID STREQUAL Clang)
   endif()
 endif(CMAKE_CXX_COMPILER_ID STREQUAL GNU)
 
-if(NOT CMAKE_BUILD_TYPE AND EXISTS "${CMAKE_SOURCE_DIR}/.git")
-  set(default_build_type "Debug")
-  set(CMAKE_BUILD_TYPE "${default_build_type}" CACHE
-      STRING "Default BUILD_TYPE is Debug, other options are: RelWithDebInfo, Release, and MinSizeRel." FORCE)
-endif()
-
 if(WITH_CEPH_DEBUG_MUTEX)
   add_compile_options($<$<COMPILE_LANGUAGE:CXX>:-DCEPH_DEBUG_MUTEX>)
 endif()