summaryrefslogtreecommitdiff
path: root/sci-mathematics/yacas/files/yacas-1.9.1-boostconfig.patch
blob: 1f95d82f5aca4de2773823fdd6b60e50c631569e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
From 597aac3a1d0de846e810ba8be9b4401e5a0b1c7d Mon Sep 17 00:00:00 2001
From: Andreas Sturmlechner <asturm@gentoo.org>
Date: Sun, 17 May 2026 22:39:19 +0200
Subject: [PATCH] Raise Boost minimum version to 1.70, use upstream
 BoostConfig.cmake module

Boost 1.70 was released on April 12th, 2019.

Boost-1.70 introduced their BoostConfig.cmake upstream cmake module
which CMake Policy CMP0167 drives to port away to (fixes warning
introduced with CMake >=3.30)

Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
---
 cyacas/yacas-kernel/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cyacas/yacas-kernel/CMakeLists.txt b/cyacas/yacas-kernel/CMakeLists.txt
index fe1600aa..45a20bf1 100644
--- a/cyacas/yacas-kernel/CMakeLists.txt
+++ b/cyacas/yacas-kernel/CMakeLists.txt
@@ -26,7 +26,7 @@ find_path (JSONCPP_INCLUDE_DIR json.h)
 find_library (JSONCPP_LIBRARY NAMES jsoncpp)
 
 find_package (OpenSSL)
-find_package (Boost REQUIRED date_time filesystem)
+find_package (Boost 1.70 CONFIG REQUIRED date_time filesystem)
 
 include_directories (include)
 
-- 
2.54.0