20 lines
1.4 KiB
Diff
20 lines
1.4 KiB
Diff
diff --git a/CMake/vtkModuleWrapClientServer.cmake b/CMake/vtkModuleWrapClientServer.cmake
|
|
index 3804a24e2..91fdd593a 100644
|
|
--- a/CMake/vtkModuleWrapClientServer.cmake
|
|
+++ b/CMake/vtkModuleWrapClientServer.cmake
|
|
@@ -37,10 +37,13 @@ function (_vtk_module_wrap_client_server_sources module sources classes)
|
|
"$<TARGET_PROPERTY:${_vtk_client_server_target_name},COMPILE_DEFINITIONS>")
|
|
set(_vtk_client_server_genex_include_directories
|
|
"$<TARGET_PROPERTY:${_vtk_client_server_target_name},INCLUDE_DIRECTORIES>")
|
|
+ set(_vtk_client_server_genex_interface_include_directories
|
|
+ "$<TARGET_PROPERTY:${_vtk_client_server_target_name},INTERFACE_INCLUDE_DIRECTORIES>")
|
|
file(GENERATE
|
|
OUTPUT "${_vtk_client_server_args_file}"
|
|
CONTENT "$<$<BOOL:${_vtk_client_server_genex_compile_definitions}>:\n-D\'$<JOIN:${_vtk_client_server_genex_compile_definitions},\'\n-D\'>\'>\n
|
|
-$<$<BOOL:${_vtk_client_server_genex_include_directories}>:\n-I\'$<JOIN:${_vtk_client_server_genex_include_directories},\'\n-I\'>\'>\n")
|
|
+ $<$<BOOL:${_vtk_client_server_genex_include_directories}>:\n-I\'$<JOIN:${_vtk_client_server_genex_include_directories},\'\n-I\'>\'>\n
|
|
+ $<$<BOOL:${_vtk_client_server_genex_interface_include_directories}>:\n-I\'$<JOIN:${_vtk_client_server_genex_interface_include_directories},\'\n-I\'>\'>\n")
|
|
|
|
_vtk_module_get_module_property("${module}"
|
|
PROPERTY "hierarchy"
|