From: Cloudwalk Date: Sat, 18 Sep 2021 03:37:27 +0000 (-0400) Subject: cmake: Set policy 0076 to NEW so it stops yelling at me when I use relative paths... X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=d017a268f3a3025d404a6330c159e6f89d0611d6;p=xonotic%2Fdarkplaces.git cmake: Set policy 0076 to NEW so it stops yelling at me when I use relative paths in INTERFACE sources --- diff --git a/CMakeLists.txt b/CMakeLists.txt index a81a0e93..b9aa6af6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,6 +2,8 @@ cmake_minimum_required(VERSION 3.11 FATAL_ERROR) project(darkplaces C) +cmake_policy(SET CMP0076 NEW) + include(buildsys/build.cmake) # Utility and helper functions and macros include(buildsys/dependencies.cmake) include(game/default/dpconfig.cmake) # Initial build options