From 6d02284b8133c067bdf6f72f83156403598d2c19 Mon Sep 17 00:00:00 2001 From: wmayer Date: Tue, 2 Mar 2021 19:05:30 +0100 Subject: [PATCH] CMake: [skip ci] copy ThirdPartyLibraries.html and LICENSE.html to the correct location and add the latter to the INSTALL() command --- src/Doc/CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Doc/CMakeLists.txt b/src/Doc/CMakeLists.txt index 19d2e075c6..8a6bf47524 100644 --- a/src/Doc/CMakeLists.txt +++ b/src/Doc/CMakeLists.txt @@ -1,8 +1,8 @@ configure_file(ThirdPartyLibraries.html - ${CMAKE_BINARY_DIR}/doc/ThirdPartyLibraries.html COPYONLY) + ${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_DOCDIR}/ThirdPartyLibraries.html COPYONLY) configure_file(LICENSE.html - ${CMAKE_BINARY_DIR}/doc/LICENSE.html COPYONLY) + ${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_DOCDIR}/LICENSE.html COPYONLY) @@ -30,6 +30,7 @@ endif(BUILD_GUI) INSTALL(FILES freecad.qhc ThirdPartyLibraries.html + LICENSE.html DESTINATION ${CMAKE_INSTALL_DOCDIR} )