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.
This commit is contained in:
Ryan Krattiger 2022-09-25 19:27:21 -05:00
parent c368620e37
commit 15abff00ff
1 changed files with 7 additions and 0 deletions

View File

@ -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