Support cmake older than 3.7 (#203)

This commit is contained in:
Roman Chistokhodov 2021-10-28 20:23:12 +03:00 committed by GitHub
parent da7322ba38
commit db4cd7846d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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