From 8355e531bc46313b3f44a9d43972df7a675ba274 Mon Sep 17 00:00:00 2001 From: matlabbe Date: Thu, 6 Aug 2026 14:21:43 -0700 Subject: [PATCH] suppress cmake policy warning --- CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 595aab97..8b219d42 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -85,6 +85,11 @@ endif() if(POLICY CMP0072) cmake_policy(SET CMP0072 NEW) endif() +# Timestamp the files extracted from a FetchContent URL download at extraction +# time, so a changed URL actually triggers a rebuild of what depends on them. +if(POLICY CMP0135) + cmake_policy(SET CMP0135 NEW) +endif() IF(MINGW) # Hide the --enable-auto-import warning