Add include path for vtkABINamespace.h in Wrapping

Wrapping tools does not need the VTK::CommonCore module,
but it does need to know where the vtkABINamespace.h header
lives.
HTGUnlimitedGradien
Ryan Krattiger 2 months ago
parent c368620e37
commit 15abff00ff
  1. 7
      Wrapping/Tools/CMakeLists.txt

@ -47,6 +47,13 @@ vtk_module_add_module("${ns}::WrappingTools"
vtk_module_definitions("${ns}::WrappingTools"
PUBLIC VTK_NO_ABI_NAMESPACE)
# This is needed for finding the vtkABINamespace.h
# header which is required by all VTK modules.
vtk_module_include("${ns}::WrappingTools"
PUBLIC
"$<BUILD_INTERFACE:${CMAKE_BINARY_DIR}/Common/Core>"
)
if (NOT TARGET "${ns}::WrapHierarchy")
vtk_module_add_executable(WrapHierarchy
DEVELOPMENT

Loading…
Cancel
Save