From 428061325daceea4d98eef3208cb21ce06fe7bac Mon Sep 17 00:00:00 2001 From: Daniel Pfeifer Date: Thu, 20 Feb 2025 22:02:22 +0100 Subject: [PATCH 1/2] build: set cmake policy version to 4.1 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a36023b..b89462b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,7 +2,7 @@ # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. -cmake_minimum_required(VERSION 3.12) +cmake_minimum_required(VERSION 3.12...4.1) project("Libmultiprocess" CXX) if(CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR) From 5dfd890f25cbdde8f175b44b6be62b2f5fbb00a6 Mon Sep 17 00:00:00 2001 From: Daniel Pfeifer Date: Mon, 15 Sep 2025 19:26:24 +0200 Subject: [PATCH 2/2] wip: try to workaround BSD issue with dependency scanning --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index b89462b..662fcd4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,6 +4,10 @@ cmake_minimum_required(VERSION 3.12...4.1) +if(BSD AND POLICY CMP0155) + cmake_policy(SET CMP0155 OLD) +endif() + project("Libmultiprocess" CXX) if(CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR) set(CMAKE_CXX_STANDARD 20)