From 02c6e5b6994d39885b36f6ced5480c9e70e041e2 Mon Sep 17 00:00:00 2001 From: Ubiquite Date: Mon, 9 Jan 2017 17:14:26 +0100 Subject: [PATCH] support RelWithDebInfo let the library user define Configurations type or build type --- CMakeLists.txt | 6 ------ 1 file changed, 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0d866f34acb1..fea8b6fec6ae 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -82,12 +82,6 @@ if (POLICY CMP0042) cmake_policy(SET CMP0042 OLD) endif() -# must go before the project command -set(CMAKE_CONFIGURATION_TYPES "Debug;Release" CACHE STRING "Configs" FORCE) -if(DEFINED CMAKE_BUILD_TYPE) - set_property( CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS ${CMAKE_CONFIGURATION_TYPES} ) -endif() - include("cmake/HunterGate.cmake") HunterGate( URL "https://github.com/ruslo/hunter/archive/v0.14.4.tar.gz"