Skip to content

Commit 9bfc81b

Browse files
authored
Merge pull request InsightSoftwareConsortium#5861 from blowekamp/vtk_python_link_interface
COMP: Remove extraneous linking for VtkGlue Python
2 parents 961a20f + 6bff4ff commit 9bfc81b

1 file changed

Lines changed: 0 additions & 22 deletions

File tree

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,3 @@
1-
# Forward include directories to CastXML
2-
foreach(_vtk_lib IN LISTS ITKVtkGlue_VTK_LIBRARIES)
3-
get_target_property(
4-
_vtk_lib_include_dirs
5-
${_vtk_lib}
6-
INTERFACE_INCLUDE_DIRECTORIES
7-
)
8-
if(_vtk_lib_include_dirs)
9-
include_directories(${_vtk_lib_include_dirs})
10-
endif()
11-
endforeach()
12-
131
itk_wrap_module(ITKVtkGlue)
142
if("${VTK_VERSION}" VERSION_LESS 7.0.0)
153
message(
@@ -28,15 +16,5 @@ else()
2816
WRAPPER_SWIG_LIBRARY_FILES
2917
"${CMAKE_CURRENT_SOURCE_DIR}/VtkGlue.i"
3018
)
31-
set(
32-
WRAPPER_LIBRARY_DEPENDS
33-
ITKCommon
34-
ITKVTK
35-
)
36-
set(
37-
WRAPPER_LIBRARY_LINK_LIBRARIES
38-
${ITK_LIBRARIES}
39-
${ITKVtkGlue_VTK_LIBRARIES}
40-
)
4119
itk_auto_load_and_end_wrap_submodules()
4220
endif()

0 commit comments

Comments
 (0)