summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2022-10-03 10:04:38 +0200
committerSlávek Banko <slavek.banko@axis.cz>2022-10-03 10:04:38 +0200
commit6b4c7a9ef0ca01d10c5634e7cecc51e1afcacb36 (patch)
tree003313663adbb945bc70b78f0d5b6caad46baa5c
parent6a21dd39143b725e5d78ae5eb644fd226107261d (diff)
downloadtde-cmake-6b4c7a9ef0ca01d10c5634e7cecc51e1afcacb36.tar.gz
tde-cmake-6b4c7a9ef0ca01d10c5634e7cecc51e1afcacb36.zip
tde_create_handbook: Install symlink for 'common' part as relative.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-rw-r--r--modules/TDEMacros.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/TDEMacros.cmake b/modules/TDEMacros.cmake
index 216a9de..0fac197 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()