Commit ccd727e5 authored by Gianfranco Costamagna's avatar Gianfranco Costamagna
Browse files

Update itk4.10-enable-system-nifti.patch: there was an underlinking of znz and...

Update itk4.10-enable-system-nifti.patch: there was an underlinking of znz and niftiio libraries, causing an elastix build failure with wl, asneeded
/usr/bin/ld: /usr/lib/libITKgiftiio-4.12.so.1: undefined reference to `compress2'
/usr/bin/ld: /usr/lib/libITKgiftiio-4.12.so.1: undefined reference to `uncompress'
/usr/bin/ld: /usr/lib/libITKgiftiio-4.12.so.1: undefined reference to `nifti_datatype_to_string'
parent c42aa6bc
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -5,12 +5,14 @@ Last-Updated: 2016-07-09

--- a/Modules/ThirdParty/GIFTI/src/gifticlib/CMakeLists.txt
+++ b/Modules/ThirdParty/GIFTI/src/gifticlib/CMakeLists.txt
@@ -25,8 +25,6 @@
@@ -25,8 +25,8 @@
   include_directories(${ITKNIFTI_INCLUDE_DIRS})
   set(PACKAGE_PREFIX "ITK")
   set(EXPAT_LIBRARIES ${ITKExpat_LIBRARIES})
-  set(ZLIB_LIBRARIES ITKznz)
-  set(NIFTI_LIBRARIES ITKniftiio)
+  set(ZLIB_LIBRARIES znz)
+  set(NIFTI_LIBRARIES niftiio)
   set(ZLIB_FOUND 1)
   set(GIFTI_LIBRARY_PROPERTIES ${ITK_LIBRARY_PROPERTIES})