summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorevpobr <evpobr@gmail.com>2019-05-31 19:08:18 +0500
committerErik de Castro Lopo <erikd@mega-nerd.com>2019-06-01 12:33:53 +1000
commitcd03042ea9a07429882f16e14a9695e77a2f059f (patch)
treeb01b836f7ea450d381bd04378b77f0e34d8b79eb
parent0c3440aec07d2fc2642d9e819b35b706ec596390 (diff)
downloadflac-cd03042ea9a07429882f16e14a9695e77a2f059f.tar.gz
Fix CMake configure warning
Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted.
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
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")