spack/var/spack/repos/builtin/packages/py-antspyx/fix-itk-gtest.diff
Matthias Wolf 6add885bb2
py-antspyx: new package (#30964)
* py-antspyx: new package

Also adds required dependencies.

Requires options to ITK to enable the right support libraries, and
patches to remove tune the setup and provide resources rather than
downloading libraries/"submodules" on the fly.

* Fix patch URL

* Style fixes.

* bump version and re-include `git clone ...` as resource
2023-03-14 16:51:38 -04:00

13 lines
350 B
Diff

--- spack-src/ants/lib/CMakeLists.txt.orig 2021-11-17 20:09:44.586523746 +0100
+++ spack-src/ants/lib/CMakeLists.txt 2021-11-17 20:10:14.057924013 +0100
@@ -10,6 +10,9 @@
find_package(ITK REQUIRED)
include(${ITK_USE_FILE})
+# Somehow not passed through from ITK
+find_package(GTest REQUIRED)
+
## SETUP PYBIND11 ##
add_subdirectory(pybind11)