summaryrefslogtreecommitdiffstats
path: root/modules/TDEMacros.cmake
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2021-12-30 11:00:42 +0100
committerSlávek Banko <slavek.banko@axis.cz>2021-12-30 11:00:42 +0100
commit81cfcd037927d26c19565325d836cc3c4e99b111 (patch)
tree3c736aa864d1f09dcff1f579f393943e9d2f3868 /modules/TDEMacros.cmake
parente73c8dd4ef41dd8d6bec6f55846f5db61d1ebe66 (diff)
downloadcmake-81cfcd037927d26c19565325d836cc3c4e99b111.tar.gz
cmake-81cfcd037927d26c19565325d836cc3c4e99b111.zip
tde_create_handbook: Fix characters not permitted for target name.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'modules/TDEMacros.cmake')
-rw-r--r--modules/TDEMacros.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/TDEMacros.cmake b/modules/TDEMacros.cmake
index ed6ca68..15e8ce4 100644
--- a/modules/TDEMacros.cmake
+++ b/modules/TDEMacros.cmake
@@ -2460,6 +2460,7 @@ macro( tde_create_handbook )
WORKING_DIRECTORY "${_binary_basedir}"
)
+ string( REPLACE "@" "_" _target "${_target}" )
add_custom_target( ${_target} ALL DEPENDS ${_binary_basedir}/index.cache.bz2 )
list( APPEND _srcs ${_binary_basedir}/index.cache.bz2 )