diff --git a/CMakeLists.txt b/CMakeLists.txt index 986ac107d3..f714397874 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -29,9 +29,9 @@ cmake_minimum_required(VERSION 2.8) # also from cmake's Modules dir, to not clash with per-project files. cmake_policy(SET CMP0017 NEW) -# Use new behaviour with cmake >= 3.0: +# Use new behaviour with cmake >= 3.1: # Only interpret if() arguments as variables or keywords when unquoted. -if(CMAKE_VERSION VERSION_GREATER 3) +if(CMAKE_VERSION VERSION_GREATER 3.1) cmake_policy(SET CMP0054 NEW) endif()