Commit cd2f8f8e authored by Chris Harris's avatar Chris Harris Committed by Code Review
Browse files

Merge topic 'vtktarget_fix' into master

a0c4c6a5 VTKTargets is hardcoded as the export name
parents 879a6868 a0c4c6a5
......@@ -253,7 +253,7 @@ install(FILES ${VTK_BINARY_DIR}/CMakeFiles/VTKConfig.cmake
DESTINATION ${VTK_INSTALL_PACKAGE_DIR})
get_property(VTK_TARGETS GLOBAL PROPERTY VTK_TARGETS)
if(VTK_TARGETS)
install(EXPORT VTKTargets DESTINATION ${VTK_INSTALL_PACKAGE_DIR})
install(EXPORT ${VTK_INSTALL_EXPORT_NAME} DESTINATION ${VTK_INSTALL_PACKAGE_DIR})
else()
set(CMAKE_CONFIGURABLE_FILE_CONTENT "# No targets!")
configure_file(${CMAKE_ROOT}/Modules/CMakeConfigurableFile.in
......
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