From f581ff46a1f3a55261e74411d2a58d66f7c1a461 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 6 Jan 2025 17:56:07 +1100 Subject: [PATCH] CMake: enable CMP0177 policy to normalize desintion paths The deprecated functionality will be removed eventually, enable the new functionality. --- CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4b59c67e319..fe942083e76 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -100,6 +100,11 @@ if(POLICY CMP0119) cmake_policy(SET CMP0119 NEW) endif() +# Install DESTINATION paths are normalized. +if(POLICY CMP0177) + cmake_policy(SET CMP0177 NEW) +endif() + # ----------------------------------------------------------------------------- # Load Blender's Local Macros