mirror of
https://git.h3cjp.net/H3cJP/citra.git
synced 2024-12-24 12:16:49 +00:00
Don't require cmake 3.15
This commit is contained in:
parent
9877bf7d48
commit
754f63af1a
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue