From 63c83b864040128411b66d988cd302968d72ac7d Mon Sep 17 00:00:00 2001 From: sithlord48 Date: Sun, 19 Jul 2026 08:11:03 -0400 Subject: [PATCH] build: enable CMP0207, Use native paths when gathering windows dll runtime depends --- CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 74a8fe539..7abea5aa0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -16,6 +16,11 @@ if(POLICY CMP0156) cmake_policy(SET CMP0156 NEW) endif() +# Use native paths to collect dependents on windows +if(POLICY CMP0207) + cmake_policy(SET CMP0207 NEW) +endif() + #Project level options option(BUILD_INSTALLER "Build installer" ON) option(ENABLE_COVERAGE "Enable test coverage" OFF)