Package: itksnap / 3.4.0-2

01_add_required_vtklibraries_and_gdcm.patch Patch series | 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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
Description: Add some more libraries to be directly linked, since 
  this is necessary in Debian
 .
Author: Gert Wollny <gw.fossdev@gmail.com>
Bug: https://sourceforge.net/p/itk-snap/bugs/85/
Last-Update: 2015-01-08

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -876,6 +876,8 @@
 
 # ITK Libraries
 SET(SNAP_ITK_LIBS ${ITK_LIBRARIES})
+FIND_PACKAGE(GDCM REQUIRED)
+INCLUDE (${GDCM_USE_FILE})
 
 # Core VTK libraries
 SET(SNAP_VTK_LIBS
@@ -883,8 +885,10 @@
   vtkCommonCore
   vtkRenderingCore
   vtkRenderingFreeType
+  vtkRenderingFreeTypeFontConfig
   vtkRenderingFreeTypeOpenGL
   vtkRenderingOpenGL
+  vtkRenderingMatplotlib
   vtkRenderingVolume
   vtkRenderingVolumeOpenGL
   vtkFiltersCore
@@ -895,6 +899,9 @@
   vtkIOExport
   vtkIOGeometry
   vtkIOLegacy
+  vtkIOImage
+  vtkIOMPIImage
+  vtkIOMPIParallel
 )
 
 # System libraries
@@ -902,6 +909,7 @@
   ${OPENGL_LIBRARIES}
   ${OPENGL_glu_LIBRARY}
   ${SYSTEM_LIBS}
+  gdcmCommon
 )
 
 # Designate the external libraries used by SNAP