aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/itk/wrapping.patch
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/itk/wrapping.patch')
-rw-r--r--vcpkg/ports/itk/wrapping.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/vcpkg/ports/itk/wrapping.patch b/vcpkg/ports/itk/wrapping.patch
new file mode 100644
index 0000000..8f11018
--- /dev/null
+++ b/vcpkg/ports/itk/wrapping.patch
@@ -0,0 +1,14 @@
+diff --git a/Wrapping/TypedefMacros.cmake b/Wrapping/TypedefMacros.cmake
+index e6f8d0bf3..6c000dba8 100644
+--- a/Wrapping/TypedefMacros.cmake
++++ b/Wrapping/TypedefMacros.cmake
+@@ -62,8 +62,7 @@ macro(itk_wrap_module library_name)
+
+ # WRAPPER_LIBRARY_LINK_LIBRARIES. List of other libraries that should
+ # be linked to the wrapper library.
+- set(WRAPPER_LIBRARY_LINK_LIBRARIES ${ITK_LIBRARIES} ${${itk-module}_LIBRARIES})
+-
++ set(WRAPPER_LIBRARY_LINK_LIBRARIES ${ITK_LIBRARIES} ${${library_name}_LIBRARIES})
+ # WRAPPER_SUBMODULE_ORDER. List of *.wrap submodules in the source dir
+ # that should be included/wrapped before the rest in the given order.
+ # Just the submodule group name is needed, not the full path or file name.