From 86a0768ed7a0213bedc38989d7dc4a3a1db0c580 Mon Sep 17 00:00:00 2001 From: tangxifan Date: Thu, 18 Aug 2022 19:49:15 -0700 Subject: [PATCH] [script] comment some debugging flags` --- CMakeLists.txt | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9070c022a..ce0f74421 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -15,13 +15,13 @@ if (${CMAKE_VERSION} VERSION_GREATER "3.8") # has no effect unless an Intel compiler is used endif() -# Set the default build type if not specified -if(NOT CMAKE_BUILD_TYPE) - set(CMAKE_BUILD_TYPE Release CACHE STRING - "Choose the type of build: None, Debug, Release, RelWithDebInfo, MinSizeRel" - FORCE) -endif() -message(STATUS "CMAKE_BUILD_TYPE: ${CMAKE_BUILD_TYPE}") +## Set the default build type if not specified +#if(NOT CMAKE_BUILD_TYPE) +# set(CMAKE_BUILD_TYPE Release CACHE STRING +# "Choose the type of build: None, Debug, Release, RelWithDebInfo, MinSizeRel" +# FORCE) +#endif() +#message(STATUS "CMAKE_BUILD_TYPE: ${CMAKE_BUILD_TYPE}") if(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_BINARY_DIR}) message("CMAKE_SOURCE_DIR: ${CMAKE_SOURCE_DIR}")