$NetBSD: patch-CMakeLists.txt,v 1.1 2025/08/20 06:49:38 wiz Exp $ Fix build with cmake 4. --- CMakeLists.txt.orig 2025-08-20 06:45:02.268320141 +0000 +++ CMakeLists.txt @@ -1,8 +1,5 @@ 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) -endif() include (CheckFunctionExists) include (CheckStructHasMember)