From cd03042ea9a07429882f16e14a9695e77a2f059f Mon Sep 17 00:00:00 2001 From: evpobr Date: Fri, 31 May 2019 19:08:18 +0500 Subject: [PATCH] Fix CMake configure warning Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index fe41183f..c2d2dfc7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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")