From d017a268f3a3025d404a6330c159e6f89d0611d6 Mon Sep 17 00:00:00 2001 From: Cloudwalk Date: Fri, 17 Sep 2021 23:37:27 -0400 Subject: [PATCH] cmake: Set policy 0076 to NEW so it stops yelling at me when I use relative paths in INTERFACE sources --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.39.2