head 1.1; access; symbols pkgsrc-2026Q1:1.1.0.6 pkgsrc-2026Q1-base:1.1 pkgsrc-2025Q4:1.1.0.4 pkgsrc-2025Q4-base:1.1 pkgsrc-2025Q3:1.1.0.2 pkgsrc-2025Q3-base:1.1; locks; strict; comment @# @; 1.1 date 2025.08.11.20.37.43; author wiz; state Exp; branches; next ; commitid 8dF8qRVykcuNYl6G; desc @@ 1.1 log @threadweaver: fix build with cmake 4 Using upstream patch @ text @$NetBSD$ Fix build with cmake 4. https://github.com/KDE/threadweaver/commit/f3e1801852a9fa27db7775131e5c00882d5d32a1 --- examples/HelloWorld/CMakeLists.txt.orig 2024-05-04 11:44:11.000000000 +0000 +++ examples/HelloWorld/CMakeLists.txt @@@@ -2,15 +2,10 @@@@ # https://cmake.org/documentation/ # https://community.kde.org/Guidelines_and_HOWTOs/CMake ##@@@@snippet_begin(adding_tw_1) -cmake_minimum_required(VERSION 3.0) +cmake_minimum_required(VERSION 3.16) find_package(ECM 1.1.0 REQUIRED NO_MODULE) ##@@@@snippet_end -if(POLICY CMP0063) - cmake_policy(SET CMP0063 NEW) -endif() - - if (NOT TARGET KF5ThreadWeaver) # Find the ThreadWeaver framework when we compiling this example stand-alone ##@@@@snippet_begin(adding_tw_2) @