From cbd26896ba835a5f1c2ebd9f6e1725e8b08cf6e7 Mon Sep 17 00:00:00 2001 From: Bruno Postle Date: Tue, 25 Nov 2025 18:45:59 +0000 Subject: [PATCH] Propagate CMP0167 policy to fix cmake warnings --- cmake/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt index ed9487c6fc..78f96d0e70 100644 --- a/cmake/CMakeLists.txt +++ b/cmake/CMakeLists.txt @@ -37,6 +37,7 @@ if(POLICY CMP0144) # 3.27 endif() if(POLICY CMP0167) # 3.30 cmake_policy(SET CMP0167 OLD) + set(CMAKE_POLICY_DEFAULT_CMP0167 OLD) # Propagate to subdirectories and find modules. endif() if(NOT CMAKE_BUILD_TYPE)