mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-02-09 05:24:17 +00:00
Support cmake older than 3.7 (#203)
This commit is contained in:
parent
da7322ba38
commit
db4cd7846d
@ -22,8 +22,8 @@
|
|||||||
|
|
||||||
cmake_minimum_required(VERSION 2.8.12)
|
cmake_minimum_required(VERSION 2.8.12)
|
||||||
|
|
||||||
if(${CMAKE_VERSION} VERSION_GREATER_EQUAL "3.15.0")
|
if(NOT ${CMAKE_VERSION} VERSION_LESS "3.15.0")
|
||||||
cmake_policy(SET CMP0091 NEW)
|
cmake_policy(SET CMP0091 NEW)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Install custom module path
|
# Install custom module path
|
||||||
|
Loading…
x
Reference in New Issue
Block a user