head 1.1; access; symbols pkgsrc-2026Q2:1.1.0.8 pkgsrc-2026Q2-base:1.1 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.19.14.08.44; author wiz; state Exp; branches; next ; commitid X88qBTk5Lp0nzl7G; desc @@ 1.1 log @wxmathplot: fix build with cmake 4 Convert to cmake/build.mk @ text @$NetBSD$ Fix build with cmake 4. --- samples/sample2/CMakeLists.txt.orig 2025-08-19 14:05:30.811394041 +0000 +++ samples/sample2/CMakeLists.txt @@@@ -6,9 +6,6 @@@@ # Set CMake flags to enable compatibility both with 2.4 and 2.6 cmake_minimum_required(VERSION 2.4) -if(COMMAND cmake_policy) - cmake_policy(SET CMP0003 OLD) -endif(COMMAND cmake_policy) SET(wxWidgets_USE_LIBS base core) find_package(wxWidgets) @