File: boost1.90.patch

package info (click to toggle)
purify 5.0.1-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 186,852 kB
  • sloc: cpp: 17,731; python: 510; xml: 182; makefile: 7; sh: 6
file content (25 lines) | stat: -rw-r--r-- 658 bytes parent folder | download
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
Description: Fix FTBFS with Boost >= 1.89
Author: Adrian Bunk <bunk@debian.org>
Bug-Debian: https://bugs.debian.org/1128161

--- a/cmake_files/dependencies.cmake
+++ b/cmake_files/dependencies.cmake
@@ -23,7 +23,7 @@
 if(CMAKE_VERSION VERSION_GREATER_EQUAL "3.30.0")
   cmake_policy(SET CMP0167 NEW)
 endif()
-find_package(Boost COMPONENTS system filesystem REQUIRED)
+find_package(Boost COMPONENTS filesystem REQUIRED)
 
 find_package(sopt REQUIRED)
 set(PURIFY_ONNXRT FALSE)
--- a/cpp/purify/CMakeLists.txt
+++ b/cpp/purify/CMakeLists.txt
@@ -101,7 +101,6 @@
   ${sopt_LIBRARIES}
   yaml-cpp
   Boost::filesystem
-  Boost::system
 )
 
 if(PURIFY_CASACORE)