mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-02-03 02:24:28 +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)
|
||||
|
||||
if(${CMAKE_VERSION} VERSION_GREATER_EQUAL "3.15.0")
|
||||
cmake_policy(SET CMP0091 NEW)
|
||||
if(NOT ${CMAKE_VERSION} VERSION_LESS "3.15.0")
|
||||
cmake_policy(SET CMP0091 NEW)
|
||||
endif()
|
||||
|
||||
# Install custom module path
|
||||
|
Loading…
x
Reference in New Issue
Block a user