mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2024-12-25 07:51:18 +01:00
Fix build with cmake with < 3.1
This commit is contained in:
parent
cbd809621a
commit
eb5d72a940
@ -18,7 +18,9 @@
|
||||
|
||||
project(strawberry)
|
||||
cmake_minimum_required(VERSION 2.8.11)
|
||||
cmake_policy(SET CMP0054 NEW)
|
||||
if(${CMAKE_VERSION} VERSION_GREATER "3.0")
|
||||
cmake_policy(SET CMP0054 NEW)
|
||||
endif()
|
||||
if(${CMAKE_VERSION} VERSION_GREATER "3.10.3")
|
||||
cmake_policy(SET CMP0072 NEW)
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user