diff -ur taskd-1.1.0.orig/CMakeLists.txt taskd-1.1.0/CMakeLists.txt
--- taskd-1.1.0.orig/CMakeLists.txt	2015-05-10 22:35:22.000000000 +0100
+++ taskd-1.1.0/CMakeLists.txt	2026-05-24 16:27:19.741895683 +0100
@@ -1,7 +1,7 @@
 cmake_minimum_required (VERSION 2.8)
 set(CMAKE_LEGACY_CYGWIN_WIN32 0) # Remove when CMake >= 2.8.4 is required
 if(POLICY CMP0037)
-  cmake_policy(SET CMP0037 OLD)
+   cmake_policy(SET CMP0037 NEW)
 endif()
 
 include (CheckFunctionExists)
