From: gg Date: Tue, 13 Jan 2026 21:19:47 +0000 (-0500) Subject: make old policy conditional on configuration X-Git-Url: https://git.nutra.tk/v2?a=commitdiff_plain;h=a73224ecef9c3c3acf3288eafec81fb9c15dc90e;p=gamesguru%2Ffeather.git make old policy conditional on configuration --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 1d0a960d..617a7196 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -49,7 +49,9 @@ set(COPYRIGHT_YEAR "2025") set(COPYRIGHT_HOLDERS "The Monero Project") cmake_policy(SET CMP0074 NEW) -cmake_policy(SET CMP0148 OLD) +if(POLICY CMP0148) + cmake_policy(SET CMP0148 OLD) +endif() # Configurable options option(STATIC "Link libraries statically, requires static Qt" OFF)