2111: Try to fix freetype mac warning (fixes #2110) r=heinrich5991 a=def-



Co-authored-by: def <dennis@felsin9.de>
This commit is contained in:
bors[bot] 2020-04-06 12:03:35 +00:00 committed by GitHub
commit f8a7acc074
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View file

@ -17,6 +17,10 @@ else()
message(FATAL_ERROR "Couldn't parse version from src/game/version.h")
endif()
if(POLICY CMP0017)
cmake_policy(SET CMP0017 NEW)
endif()
if(POLICY CMP0048)
cmake_policy(SET CMP0048 NEW)
if(VERSION_PATCH STREQUAL "0")
@ -307,7 +311,7 @@ endif()
find_package(ZLIB)
find_package(Crypto)
find_package(Curl)
find_package(OwnFreetype)
find_package(Freetype)
if(DOWNLOAD_GTEST)
find_package(Git)
endif()