1
0
Fork 0
mirror of https://github.com/PabloMK7/citra.git synced 2025-05-01 00:59:47 +02:00

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

View file

@ -1,6 +1,8 @@
# CMake 3.8 required for 17 to be a valid value for CXX_STANDARD
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}/externals/cmake-modules")
include(DownloadExternals)