Commit c5344f87 authored by Ben Boeckel's avatar Ben Boeckel Committed by Kitware Robot

Merge topic 'export-properties-on-kit-modules'

f961d858 vtkModule: fix exporting properties for modules in kits
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Acked-by: Utkarsh Ayachit's avatarUtkarsh Ayachit <utkarsh.ayachit@kitware.com>
Merge-request: !6051
parents ef374c74 f961d858
Pipeline #148079 failed with stage
in 0 seconds
......@@ -1720,8 +1720,7 @@ function (_vtk_module_export_properties)
"Exporting properties requires an install file to write to.")
endif ()
get_property(_vtk_export_properties_target_name GLOBAL
PROPERTY "_vtk_module_${_vtk_export_properties_MODULE}_target_name")
_vtk_module_real_target(_vtk_export_properties_target_name "${_vtk_export_properties_MODULE}")
foreach (_vtk_export_properties_global IN LISTS _vtk_export_properties_FROM_GLOBAL_PROPERTIES)
get_property(_vtk_export_properties_is_set GLOBAL
......@@ -1768,7 +1767,7 @@ function (_vtk_module_export_properties)
foreach (_vtk_export_properties_split IN LISTS _vtk_export_properties_SPLIT_INSTALL_PROPERTIES)
get_property(_vtk_export_properties_is_set
TARGET "${_vtk_export_properties_MODULE}"
TARGET "${_vtk_export_properties_target_name}"
PROPERTY "INTERFACE_vtk_module_${_vtk_export_properties_split}"
SET)
if (NOT _vtk_export_properties_is_set)
......
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