summarylogtreecommitdiffstats
path: root/0001-fix-build-with-system-rapidjson.patch
blob: 9998b4ba132276510185e18e133bf600eebb9655 (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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
From b970bd1b6362441f039d40139a90d696c1f44526 Mon Sep 17 00:00:00 2001
From: Hu Butui <hot123tea123@gmail.com>
Date: Wed, 12 Nov 2025 16:12:23 +0800
Subject: [PATCH 1/4] fix build with system rapidjson

Signed-off-by: Hu Butui <hot123tea123@gmail.com>
---
 Libs/MRML/Core/CMakeLists.txt                       | 1 -
 Modules/Loadable/Markups/MRML/CMakeLists.txt        | 1 -
 Modules/Loadable/Terminologies/Logic/CMakeLists.txt | 4 ----
 Modules/Loadable/Volumes/Logic/CMakeLists.txt       | 1 -
 4 files changed, 7 deletions(-)

diff --git a/Libs/MRML/Core/CMakeLists.txt b/Libs/MRML/Core/CMakeLists.txt
index 374c6b8f43..62c815195c 100644
--- a/Libs/MRML/Core/CMakeLists.txt
+++ b/Libs/MRML/Core/CMakeLists.txt
@@ -358,7 +358,6 @@ set(libs
   ${VTK_LIBRARIES}
   VTK::IOInfovis
   ${LibArchive_LIBRARY}
-  RapidJSON
   )
 if(MRML_USE_vtkTeem)
   list(APPEND libs vtkTeem)
diff --git a/Modules/Loadable/Markups/MRML/CMakeLists.txt b/Modules/Loadable/Markups/MRML/CMakeLists.txt
index e3a6b27e63..d3d0f32edb 100644
--- a/Modules/Loadable/Markups/MRML/CMakeLists.txt
+++ b/Modules/Loadable/Markups/MRML/CMakeLists.txt
@@ -24,7 +24,6 @@ set(${KIT}_SRCS
 
 set(${KIT}_TARGET_LIBRARIES
   ${MRML_LIBRARIES}
-  RapidJSON
   )
 
 #-----------------------------------------------------------------------------
diff --git a/Modules/Loadable/Terminologies/Logic/CMakeLists.txt b/Modules/Loadable/Terminologies/Logic/CMakeLists.txt
index 752f4ad2f2..490a9e27b7 100644
--- a/Modules/Loadable/Terminologies/Logic/CMakeLists.txt
+++ b/Modules/Loadable/Terminologies/Logic/CMakeLists.txt
@@ -20,10 +20,6 @@ set(${KIT}_SRCS
   vtkSlicerTerminologyEntry.h
   )
 
-set(${KIT}_TARGET_LIBRARIES
-  RapidJSON
-  )
-
 #-----------------------------------------------------------------------------
 SlicerMacroBuildModuleLogic(
   NAME ${KIT}
diff --git a/Modules/Loadable/Volumes/Logic/CMakeLists.txt b/Modules/Loadable/Volumes/Logic/CMakeLists.txt
index ed57afef75..6bcc8ed10f 100644
--- a/Modules/Loadable/Volumes/Logic/CMakeLists.txt
+++ b/Modules/Loadable/Volumes/Logic/CMakeLists.txt
@@ -16,7 +16,6 @@ set(${KIT}_SRCS
 
 set(${KIT}_TARGET_LIBRARIES
   ${ITK_LIBRARIES}
-  RapidJSON
   )
 
 #-----------------------------------------------------------------------------
-- 
2.51.2