citra-emu
/
citra-canary
Archived
1
0
Fork 0

Don't require cmake 3.15

This commit is contained in:
Hamish Milne 2019-12-30 10:23:20 +00:00 committed by zhupengfei
parent 9877bf7d48
commit 754f63af1a
1 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,8 @@
# CMake 3.8 required for 17 to be a valid value for CXX_STANDARD # CMake 3.8 required for 17 to be a valid value for CXX_STANDARD
cmake_minimum_required(VERSION 3.8) cmake_minimum_required(VERSION 3.8)
cmake_policy(SET CMP0092 NEW) if (${CMAKE_VERSION} VERSION_GREATER_EQUAL 3.15)
cmake_policy(SET CMP0092 NEW)
endif ()
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/CMakeModules") list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/CMakeModules")
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/externals/cmake-modules") list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/externals/cmake-modules")
include(DownloadExternals) include(DownloadExternals)