From 96bb7dddfe69068160307c970febc4839df7e1b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Mon, 3 Oct 2022 10:04:38 +0200 Subject: tde_create_handbook: Install symlink for 'common' part as relative. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko (cherry picked from commit 6b4c7a9ef0ca01d10c5634e7cecc51e1afcacb36) --- modules/TDEMacros.cmake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/TDEMacros.cmake b/modules/TDEMacros.cmake index 5ab9e2c..1c05419 100644 --- a/modules/TDEMacros.cmake +++ b/modules/TDEMacros.cmake @@ -2529,7 +2529,8 @@ macro( tde_create_handbook ) endif( ) tde_install_empty_directory( ${_dest} ) - tde_install_symlink( ${TDE_HTML_DIR}/${_lang}/common ${_dest} ) + file( RELATIVE_PATH _common_link_target "${_dest}" "${TDE_HTML_DIR}/${_lang}/common" ) + tde_install_symlink( ${_common_link_target} ${_dest} ) endif() -- cgit v1.2.1