Package: itksnap / 3.6.0-3

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
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
@@ -923,6 +923,8 @@
 
 # ITK Libraries
 SET(SNAP_ITK_LIBS ${ITK_LIBRARIES})
+FIND_PACKAGE(GDCM REQUIRED)
+INCLUDE (${GDCM_USE_FILE})
 
 # Core VTK libraries
 SET(SNAP_VTK_LIBS ${VTK_LIBRARIES})
@@ -939,6 +941,7 @@
   ${OPENGL_LIBRARIES}
   ${OPENGL_glu_LIBRARY}
   ${SYSTEM_LIBS}
+  gdcmCommon
 )
 
 # Designate the external libraries used by SNAP