mirror of https://github.com/AxioDL/tinyxml2.git
Fix cmake warnings on new cmake versions.
This commit is contained in:
parent
e9b547a9ee
commit
aad61870a9
|
@ -7,6 +7,9 @@ IF(BIICODE)
|
||||||
ENDIF(BIICODE)
|
ENDIF(BIICODE)
|
||||||
cmake_minimum_required(VERSION 2.6 FATAL_ERROR)
|
cmake_minimum_required(VERSION 2.6 FATAL_ERROR)
|
||||||
cmake_policy(VERSION 2.6)
|
cmake_policy(VERSION 2.6)
|
||||||
|
if(POLICY CMP0063)
|
||||||
|
cmake_policy(SET CMP0063 OLD)
|
||||||
|
endif()
|
||||||
|
|
||||||
project(tinyxml2)
|
project(tinyxml2)
|
||||||
include(GNUInstallDirs)
|
include(GNUInstallDirs)
|
||||||
|
|
Loading…
Reference in New Issue