aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/itk/wrapping.patch
blob: 8f11018e07a0b20b1c6e223dee416e80b442cda6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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.