mirror of
https://github.com/FWGS/hlsdk-xash3d
synced 2025-01-09 18:45:52 +01: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…
Reference in New Issue
Block a user