Fix CMake configure warning
Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted.
This commit is contained in:
parent
0c3440aec0
commit
cd03042ea9
@ -1,4 +1,4 @@
|
||||
cmake_minimum_required(VERSION 3.0)
|
||||
cmake_minimum_required(VERSION 3.1)
|
||||
|
||||
if(NOT (CMAKE_BUILD_TYPE OR CMAKE_CONFIGURATION_TYPES OR DEFINED ENV{CFLAGS} OR DEFINED ENV{CXXFLAGS}))
|
||||
set(CMAKE_BUILD_TYPE Release CACHE STRING "Choose the type of build, options are: None Debug Release RelWithDebInfo")
|
||||
|
Loading…
Reference in New Issue
Block a user