mirror of https://github.com/axmolengine/axmol.git
commit
af2b29b478
|
@ -29,9 +29,9 @@ cmake_minimum_required(VERSION 2.8)
|
||||||
# also from cmake's Modules dir, to not clash with per-project files.
|
# also from cmake's Modules dir, to not clash with per-project files.
|
||||||
cmake_policy(SET CMP0017 NEW)
|
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.
|
# 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)
|
cmake_policy(SET CMP0054 NEW)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue