From 6c0aa57998fb8fb3a01aba6088d084c952335875 Mon Sep 17 00:00:00 2001 From: Guilhem Saurel <guilhem.saurel@laas.fr> Date: Wed, 28 Aug 2019 13:49:26 +0200 Subject: [PATCH] [CMake] Remove default CMAKE_BUILD_TYPE --- CMakeLists.txt | 8 -------- 1 file changed, 8 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index bab9119..94cb227 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -16,14 +16,6 @@ MESSAGE("Copyright (C) 2018-2019 CNRS-LAAS") MESSAGE("All rights reserved.") MESSAGE("Released under the BSD 3-Clause License.") -# Set a default build type to 'Release' if none was specified -IF(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES) - MESSAGE(STATUS "Setting build type to 'Release' as none was specified.") - SET(CMAKE_BUILD_TYPE Release CACHE STRING "Choose the type of build." FORCE) - # Set the possible values of build type for cmake-gui - SET_PROPERTY(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS "Debug" "Release" "MinSizeRel" "RelWithDebInfo") -ENDIF() - SETUP_PROJECT() OPTION (INSTALL_DATA "Install the data" ON) -- GitLab