Skip to content
Snippets Groups Projects
Commit 300ec668 authored by Mathieu Westphal (Kitware)'s avatar Mathieu Westphal (Kitware) :zap: Committed by Kitware Robot
Browse files

Merge topic 'edfPatchVTKTargets'


11929aed Fixing 14897 mantis bug, adding VTKTargets.cmake in install

Acked-by: default avatarKitware Robot <kwrobot@kitware.com>
Reviewed-by: default avatarMathieu Westphal <mathieu.westphal@kitware.com>
Acked-by: default avatarMathieu Westphal <mathieu.westphal@kitware.com>
Merge-request: !360
parents 3fb43e6b 11929aed
No related branches found
No related tags found
No related merge requests found
......@@ -496,7 +496,7 @@ if (NOT VTK_INSTALL_NO_DEVELOPMENT)
DESTINATION ${VTK_INSTALL_PACKAGE_DIR})
get_property(VTK_TARGETS GLOBAL PROPERTY VTK_TARGETS)
if(VTK_TARGETS)
install(EXPORT ${VTK_INSTALL_EXPORT_NAME} DESTINATION ${VTK_INSTALL_PACKAGE_DIR})
install(EXPORT ${VTK_INSTALL_EXPORT_NAME} DESTINATION ${VTK_INSTALL_PACKAGE_DIR} FILE VTKTargets.cmake)
else()
set(CMAKE_CONFIGURABLE_FILE_CONTENT "# No targets!")
configure_file(${CMAKE_ROOT}/Modules/CMakeConfigurableFile.in
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment