File: remove_boost_exception.patch

package info (click to toggle)
odil 0.12.2-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 5,304 kB
  • sloc: cpp: 55,034; python: 3,971; javascript: 460; xml: 182; makefile: 97
file content (28 lines) | stat: -rw-r--r-- 1,126 bytes parent folder | download | duplicates (3)
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
Remove non-existing boost library
Index: debian/src/CMakeLists.txt
===================================================================
--- debian.orig/src/CMakeLists.txt
+++ debian/src/CMakeLists.txt
@@ -1,4 +1,4 @@
-find_package(Boost REQUIRED COMPONENTS date_time exception filesystem log system)
+find_package(Boost REQUIRED COMPONENTS date_time filesystem log system)
 find_package(ICU REQUIRED COMPONENTS uc)
 find_package(JsonCpp REQUIRED)
 if(WITH_DCMTK)
@@ -40,7 +40,7 @@ target_include_directories(
 target_link_libraries(
     libodil 
     PUBLIC
-        Boost::date_time Boost::exception Boost::filesystem Boost::log 
+        Boost::date_time Boost::filesystem Boost::log 
         "$<$<BOOL:${WITH_DCMTK}>:${DCMTK_LIBRARIES}>"
         ICU::uc JsonCpp::JsonCpp
         $<$<PLATFORM_ID:Windows>:netapi32>
--- debian.orig/tests/CMakeLists.txt
+++ debian/tests/CMakeLists.txt
@@ -1,4 +1,4 @@
 find_package(
-    Boost COMPONENTS exception filesystem log unit_test_framework REQUIRED)
+    Boost COMPONENTS filesystem log unit_test_framework REQUIRED)
 find_package(DCMTK REQUIRED)
 find_package(JsonCpp REQUIRED)