[med-svn] [itksnap] 10/11: Make VTK6.3 patched version also work with VTK6.2
Gert Wollny
gert-guest at moszumanska.debian.org
Sun Apr 17 11:00:41 UTC 2016
This is an automated email from the git hooks/post-receive script.
gert-guest pushed a commit to branch master
in repository itksnap.
commit 5f2790e0bd29930750768cea5a8473480c5d6c79
Author: Gert Wollny <gw.fossdev at gmail.com>
Date: Sun Apr 17 10:15:12 2016 +0000
Make VTK6.3 patched version also work with VTK6.2
---
debian/patches/02_vtk_6.3.patch | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/debian/patches/02_vtk_6.3.patch b/debian/patches/02_vtk_6.3.patch
index 169eb6e..a7832c1 100644
--- a/debian/patches/02_vtk_6.3.patch
+++ b/debian/patches/02_vtk_6.3.patch
@@ -104,3 +104,14 @@
vtkRenderingOpenGL
vtkRenderingMatplotlib
vtkRenderingVolume
+@@ -904,6 +903,10 @@
+ vtkIOMPIParallel
+ )
+
++IF ((VTK_MAJOR_VERSION EQUAL 6) and (VTK_MINOR_VERSION LESS 3))
++ SET(SNAP_VTK_LIBS ${SNAP_VTK_LIBS} vtkRenderingFreeTypeOpenGL)
++ENDIF()
++
+ # System libraries
+ SET(SNAP_SYSTEM_LIBS
+ ${OPENGL_LIBRARIES}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/itksnap.git
More information about the debian-med-commit
mailing list