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.21.17.59.09; author wiz; state Exp; branches; next ; commitid r6a7NaMTr49uMC7G; desc @@ 1.1 log @kdenetwork-filesharing: fix build with cmake 4 @ text @$NetBSD$ Fix build with cmake 4. --- CMakeLists.txt.orig 2025-08-21 17:56:03.286774653 +0000 +++ CMakeLists.txt @@@@ -1,5 +1,7 @@@@ project(filesharing) +cmake_minimum_required(VERSION 3.5) + if(NOT INSIDE_KDENETWORK) message("Not building inside KDENetwork, loading KDE CMake Macros.") @@@@ -28,7 +30,7 @@@@ endif(NOT INSIDE_KDENETWORK) option(SAMBA_INSTALL "Offer to install Samba for file sharing with PackageKit if it is not already installed, use -DSAMBA_INSTALL=off to disable, use -DSAMBA_PACKAGE_NAME= to set package name." ON) if(NOT SAMBA_PACKAGE_NAME) - set(SAMBA_PACKAGE_NAME \\\"samba\\\") + set(SAMBA_PACKAGE_NAME \"samba\") endif(NOT SAMBA_PACKAGE_NAME) if(SAMBA_INSTALL) message(STATUS "Samba install feature will be enabled.") @