summaryrefslogtreecommitdiff
path: root/science/InsightToolkit/files/patch-CMake_ITKModuleTest.cmake
diff options
context:
space:
mode:
authorBen Woods <woodsb02@FreeBSD.org>2019-08-04 03:07:31 +0000
committerBen Woods <woodsb02@FreeBSD.org>2019-08-04 03:07:31 +0000
commitd12a1a88b88b14f0937bee8f5852fbc723939754 (patch)
treebff9c5532b5b5b2761ec9ecceb8e790945cc175c /science/InsightToolkit/files/patch-CMake_ITKModuleTest.cmake
parent- Update to 1.4.7 (diff)
science/InsightToolkit: Update to 5.0.1
Changes this release: https://github.com/InsightSoftwareConsortium/ITK/releases/tag/v5.0.0 https://github.com/InsightSoftwareConsortium/ITK/releases/tag/v5.0.1
Notes
Notes: svn path=/head/; revision=508047
Diffstat (limited to 'science/InsightToolkit/files/patch-CMake_ITKModuleTest.cmake')
-rw-r--r--science/InsightToolkit/files/patch-CMake_ITKModuleTest.cmake10
1 files changed, 10 insertions, 0 deletions
diff --git a/science/InsightToolkit/files/patch-CMake_ITKModuleTest.cmake b/science/InsightToolkit/files/patch-CMake_ITKModuleTest.cmake
new file mode 100644
index 000000000000..014ed3718758
--- /dev/null
+++ b/science/InsightToolkit/files/patch-CMake_ITKModuleTest.cmake
@@ -0,0 +1,10 @@
+--- CMake/ITKModuleTest.cmake.orig 2019-08-03 09:25:42 UTC
++++ CMake/ITKModuleTest.cmake
+@@ -244,6 +244,7 @@ endfunction()
+
+ function(CreateGoogleTestDriver KIT KIT_LIBS KitTests)
+ set(exe "${KIT}GTestDriver")
++ find_package(GTest)
+ add_executable(${exe} ${KitTests} )
+ target_link_libraries(${exe} ${KIT_LIBS} GTest::GTest GTest::Main)
+ itk_module_target_label(${exe})