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-04 01:48:19 +0200
commit96bb7dddfe69068160307c970febc4839df7e1b1 (patch)
tree55eea84f0d1b3de7ffbaf83bf23d824967e9786c
parentf7cb5e1b3b678b52912d4642da85556bfc3005df (diff)
downloadcmake-r14.0.x.tar.gz
cmake-r14.0.x.zip
tde_create_handbook: Install symlink for 'common' part as relative.r14.0.13r14.0.x
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 6b4c7a9ef0ca01d10c5634e7cecc51e1afcacb36)
-rw-r--r--modules/TDEMacros.cmake3
1 files changed, 2 insertions, 1 deletions
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()