Skip to content

Commit b022db1

Browse files
authored
Merge pull request #4394 from mikdusan/fix-cmake-regression
stage1: fix cmake regression
2 parents 25cbee0 + d0a9da7 commit b022db1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ cmake_minimum_required(VERSION 2.8.5)
22

33
if(NOT CMAKE_BUILD_TYPE)
44
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)
66
endif()
77

8-
set(_list "Debug;Release;RelWithDebInfo;MinSizeRel")
8+
set(_list "None;Debug;Release;RelWithDebInfo;MinSizeRel")
99
list(FIND _list ${CMAKE_BUILD_TYPE} _index)
1010
if(${_index} EQUAL -1)
1111
string(REPLACE ";" ", " _list_pretty "${_list}")

0 commit comments

Comments
 (0)