mirror of https://github.com/axmolengine/axmol.git
cmake: add policy CMP0017 to fix warnings on 2.8.8 cmake and set it to NEW for predictable include behaviour
This commit is contained in:
parent
a8695b2f86
commit
4e048951ff
|
@ -24,6 +24,11 @@
|
||||||
# ****************************************************************************/
|
# ****************************************************************************/
|
||||||
|
|
||||||
cmake_minimum_required(VERSION 2.8)
|
cmake_minimum_required(VERSION 2.8)
|
||||||
|
# It ensures that when Find*.cmake files included from cmake's Modules dir
|
||||||
|
# include another *.cmake file with relative path, that file will be included
|
||||||
|
# also from cmake's Modules dir, to not clash with per-project files.
|
||||||
|
cmake_policy(SET CMP0017 NEW)
|
||||||
|
|
||||||
project (Cocos2d-X)
|
project (Cocos2d-X)
|
||||||
|
|
||||||
# The version number
|
# The version number
|
||||||
|
|
Loading…
Reference in New Issue