Author: smr
Date: 2014-01-04 23:37:08 +0000 (Sat, 04 Jan 2014)
New Revision: 15723
Added:
trunk/packages/elastix/trunk/debian/patches/itk-review-detection.patch
Modified:
trunk/packages/elastix/trunk/debian/patches/series
Log:
Update review module detection to be compatible with ITK 4.5
Added: trunk/packages/elastix/trunk/debian/patches/itk-review-detection.patch
===================================================================
--- trunk/packages/elastix/trunk/debian/patches/itk-review-detection.patch
(rev 0)
+++ trunk/packages/elastix/trunk/debian/patches/itk-review-detection.patch
2014-01-04 23:37:08 UTC (rev 15723)
@@ -0,0 +1,15 @@
+--- elastix-4.6.orig/src/CMakeLists.txt
++++ elastix-4.6/src/CMakeLists.txt
+@@ -77,9 +77,9 @@
+ #-------------------------------------------------------------------------
+ # elastix depends on some ITK settings
+
+-IF( NOT ITK_USE_REVIEW )
+- message( SEND_ERROR "ITK_USE_REVIEW has not been set to ON when compiling
ITK. This option is mandatory for elastix to build.\nPlease recompile your ITK
installation." )
+-ENDIF()
++if( NOT ITKReview_LOADED )
++ message( SEND_ERROR "Module_ITKReview has not been set to ON when compiling
ITK. This option is mandatory for elastix to build.\nPlease recompile your ITK
installation." )
++endif()
+
+ #---------------------------------------------------------------------
+ # If IDE supports it, do use folder view.
Modified: trunk/packages/elastix/trunk/debian/patches/series
===================================================================
--- trunk/packages/elastix/trunk/debian/patches/series 2014-01-04 20:31:07 UTC
(rev 15722)
+++ trunk/packages/elastix/trunk/debian/patches/series 2014-01-04 23:37:08 UTC
(rev 15723)
@@ -1,2 +1,3 @@
+itk-review-detection.patch
disable-mevisdicomtiff.patch
build-static-ann.patch
_______________________________________________
debian-med-commit mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit