From 15abff00ff8ba6b80663d4b23212ca6f318d22aa Mon Sep 17 00:00:00 2001 From: Ryan Krattiger Date: Sun, 25 Sep 2022 19:27:21 -0500 Subject: [PATCH] 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. --- Wrapping/Tools/CMakeLists.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Wrapping/Tools/CMakeLists.txt b/Wrapping/Tools/CMakeLists.txt index 8e839f4eee..9ce8cca644 100644 --- a/Wrapping/Tools/CMakeLists.txt +++ b/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 + "$" + ) + if (NOT TARGET "${ns}::WrapHierarchy") vtk_module_add_executable(WrapHierarchy DEVELOPMENT