Commit f8c51c07 authored by Ben Boeckel's avatar Ben Boeckel

cmake: add include directory usage requirements

parent 74973152
Pipeline #130064 passed with stage
......@@ -205,6 +205,11 @@ vtk_module_add_module(vtkqttesting
HEADERS ${QtTesting_DEVEL_HEADERS}
HEADERS_SUBDIR "vtkqttesting"
)
target_include_directories(vtkqttesting
PUBLIC
"$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>"
"$<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}>"
"$<INSTALL_INTERFACE:${_vtk_build_HEADERS_DESTINATION}/vtkqttesting>")
if (FALSE) # XXX(kitware): ParaView does this already.
# Set library name to include custom prefixes/suffixes.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment