Skip to content
Snippets Groups Projects
Commit ab20beb2 authored by Ben Boeckel's avatar Ben Boeckel
Browse files

cmake: install the license file from the top-level

parent 7130b8cd
No related branches found
No related tags found
No related merge requests found
......@@ -162,11 +162,6 @@ install(
DESTINATION "${vtk_cmake_destination}"
COMPONENT "development")
install(
FILES "${CMAKE_CURRENT_LIST_DIR}/../Copyright.txt"
DESTINATION "${CMAKE_INSTALL_DOCDIR}"
COMPONENT "license")
vtk_module_export_find_packages(
CMAKE_DESTINATION "${vtk_cmake_destination}"
FILE_NAME "VTK-vtk-module-find-packages.cmake"
......
......@@ -430,6 +430,11 @@ if (NOT TARGET uninstall)
COMMENT "Uninstalling VTK")
endif ()
install(
FILES "${CMAKE_CURRENT_LIST_DIR}/Copyright.txt"
DESTINATION "${CMAKE_INSTALL_DOCDIR}"
COMPONENT "license")
# TODO: HeaderTest exclusions for memcheck.
#-----------------------------------------------------------------------------
......
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