]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
cmake: Set policy 0076 to NEW so it stops yelling at me when I use relative paths... Cloudwalk/cmake
authorCloudwalk <cloudwalk@icculus.org>
Sat, 18 Sep 2021 03:37:27 +0000 (23:37 -0400)
committerCloudwalk <cloudwalk@icculus.org>
Sat, 18 Sep 2021 03:37:27 +0000 (23:37 -0400)
CMakeLists.txt

index a81a0e93937c9c97ef006fd69435a68f5eb009f2..b9aa6af65e500339557545745c00434b4e5dffa4 100644 (file)
@@ -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