Use latest CMake on TravisCI

This commit is contained in:
FranciscoPombal 2020-04-30 10:31:23 +01:00
parent 4f820163ff
commit 22f16881fe
2 changed files with 10 additions and 1 deletions

View file

@ -6,6 +6,11 @@ if(POLICY CMP0074)
cmake_policy(SET CMP0074 NEW)
endif()
# TODO: fix the macOS bundle stuff
if(POLICY CMP0080)
cmake_policy(SET CMP0080 OLD)
endif()
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake/Modules)
include(FunctionReadVersion)