summaryrefslogtreecommitdiffstats
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:01:01 +0100
commit8fc3c9fbb320bcd375955572d16343ddbc24e3bc (patch)
treee443da9ab473be7f9a3ea066f37aea76f3d65970
parentcb20ae40398cd2d7a56f965a102a844c35a0f71d (diff)
downloadtde-cmake-8fc3c9fbb320bcd375955572d16343ddbc24e3bc.tar.gz
tde-cmake-8fc3c9fbb320bcd375955572d16343ddbc24e3bc.zip
tde_create_handbook: Fix characters not permitted for target name.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 81cfcd037927d26c19565325d836cc3c4e99b111)
-rw-r--r--modules/TDEMacros.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/TDEMacros.cmake b/modules/TDEMacros.cmake
index fd1da82..d19fc59 100644
--- a/modules/TDEMacros.cmake
+++ b/modules/TDEMacros.cmake
@@ -2273,6 +2273,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 )