authorgravatar for michael.dusan@gmail.comMichael Dusan <michael.dusan@gmail.com> 2020-02-05 08:24:50-05:00
committergravatar for michael.dusan@gmail.comMichael Dusan <michael.dusan@gmail.com> 2020-02-05 08:24:50-05:00
logd0a9da74ef6399c465beff5f77b2dc1e5ccfb787
tree9fdc50f6f292a207926371d4c41cfdead2f448ed
parent25cbee0b84074368c23b7540a63cba83162e4b73
signaturelock-open Commit is signed but in an unrecognized format.

stage1: fix cmake regression

- add `None` as a valid CMAKE_BUILD_TYPE - this is a legitimate setting used by packagers regression was caused by c6df5deb3450e0d8a2ba449c34a0bd195fbce8ec

1 files changed, 2 insertions(+), 2 deletions(-)

CMakeLists.txt+2-2
...@@ -2,10 +2,10 @@ cmake_minimum_required(VERSION 2.8.5)...@@ -2,10 +2,10 @@ cmake_minimum_required(VERSION 2.8.5)
22
3if(NOT CMAKE_BUILD_TYPE)3if(NOT CMAKE_BUILD_TYPE)
4 set(CMAKE_BUILD_TYPE "Debug" CACHE STRING4 set(CMAKE_BUILD_TYPE "Debug" CACHE STRING
5 "Choose the type of build, options are: Debug Release RelWithDebInfo MinSizeRel." FORCE)5 "Choose the type of build, options are: None Debug Release RelWithDebInfo MinSizeRel." FORCE)
6endif()6endif()
77
8set(_list "Debug;Release;RelWithDebInfo;MinSizeRel")8set(_list "None;Debug;Release;RelWithDebInfo;MinSizeRel")
9list(FIND _list ${CMAKE_BUILD_TYPE} _index)9list(FIND _list ${CMAKE_BUILD_TYPE} _index)
10if(${_index} EQUAL -1)10if(${_index} EQUAL -1)
11 string(REPLACE ";" ", " _list_pretty "${_list}")11 string(REPLACE ";" ", " _list_pretty "${_list}")