diff options
| author | Michael Dusan <michael.dusan@gmail.com> | 2020-02-05 10:01:16 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-02-05 10:01:16 -0500 |
| commit | b022db16ece48f2cdec47c5716601fec2fc07ef4 (patch) | |
| tree | 9fdc50f6f292a207926371d4c41cfdead2f448ed | |
| parent | 25cbee0b84074368c23b7540a63cba83162e4b73 (diff) | |
| parent | d0a9da74ef6399c465beff5f77b2dc1e5ccfb787 (diff) | |
| download | zig-b022db16ece48f2cdec47c5716601fec2fc07ef4.tar.gz zig-b022db16ece48f2cdec47c5716601fec2fc07ef4.zip | |
Merge pull request #4394 from mikdusan/fix-cmake-regression
stage1: fix cmake regression
| -rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index b83e26598c..b4a375e60e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,10 +2,10 @@ cmake_minimum_required(VERSION 2.8.5) if(NOT CMAKE_BUILD_TYPE) set(CMAKE_BUILD_TYPE "Debug" CACHE STRING - "Choose the type of build, options are: Debug Release RelWithDebInfo MinSizeRel." FORCE) + "Choose the type of build, options are: None Debug Release RelWithDebInfo MinSizeRel." FORCE) endif() -set(_list "Debug;Release;RelWithDebInfo;MinSizeRel") +set(_list "None;Debug;Release;RelWithDebInfo;MinSizeRel") list(FIND _list ${CMAKE_BUILD_TYPE} _index) if(${_index} EQUAL -1) string(REPLACE ";" ", " _list_pretty "${_list}") |
