mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-07 03:22:27 +02:00
Squelch cmake warning CMP0074 without requiring an update to cmake 3.12.
This commit is contained in:
parent
b31af8c9c6
commit
c19194fed5
1 changed files with 5 additions and 0 deletions
|
@ -7,6 +7,11 @@ else()
|
|||
cmake_minimum_required(VERSION 3.2)
|
||||
endif()
|
||||
|
||||
if (${CMAKE_MAJOR_VERSION} GREATER 2 AND ${CMAKE_MINOR_VERSION} GREATER 11)
|
||||
# squelch the Policy CMP0074 warning without requiring an update to cmake 3.12.
|
||||
cmake_policy(SET CMP0074 NEW)
|
||||
endif()
|
||||
|
||||
project(hifi)
|
||||
|
||||
include("cmake/init.cmake")
|
||||
|
|
Loading…
Reference in a new issue