diff --git a/SuperBuild/patches/ITK/itk-3-vnl_fixes-all.diff b/SuperBuild/patches/ITK/itk-3-vnl_fixes-all.diff new file mode 100755 index 0000000000000000000000000000000000000000..baebbecf147abc98b5b23cc4b787a6282e107e1f --- /dev/null +++ b/SuperBuild/patches/ITK/itk-3-vnl_fixes-all.diff @@ -0,0 +1,14 @@ +diff -burN InsightToolkit-4.10.0.orig/Modules/ThirdParty/VNL/src/vxl/core/CMakeLists.txt InsightToolkit-4.10.0/Modules/ThirdParty/VNL/src/vxl/core/CMakeLists.txt +--- InsightToolkit-4.10.0.orig/Modules/ThirdParty/VNL/src/vxl/core/CMakeLists.txt 2016-12-06 16:03:06.000000000 +0100 ++++ InsightToolkit-4.10.0/Modules/ThirdParty/VNL/src/vxl/core/CMakeLists.txt 2016-12-06 16:03:44.000000000 +0100 +@@ -131,8 +131,10 @@ + set(CORE_VIDEO_FOUND OFF CACHE INTERNAL "VXL core video libraries built") + endif () + ++if(BUILD_TESTING) + # common test executable + add_subdirectory(testlib) ++endif() + + # Tests that check and output the vxl configuration + # NOTE: some external projects remove the tests directory (aka ITK)