Merge pull request #11292 from ricardoquesada/cmake_fix

cmake fix
This commit is contained in:
Ricardo Quesada 2015-04-06 00:15:37 -07:00
commit af2b29b478
1 changed files with 2 additions and 2 deletions

View File

@ -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()