aboutsummaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorIvan Komissarov <abbapoh@gmail.com>2021-10-21 14:34:51 +0300
committerIvan Komissarov <ABBAPOH@gmail.com>2021-10-22 10:19:02 +0000
commit9680337d438ad6574688286118693049e6caac7e (patch)
treef1349dd71f85b502a50ea54334a6db45858fee34 /cmake
parent4ac3708377598d0117ed399c536026c9b24f18c0 (diff)
cmake: fix qch build
Fixes: QTCREATORBUG-26407 Change-Id: I840d2446f91116a9707960de4a27f04a3ad6d068 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'cmake')
-rw-r--r--cmake/QbsDocumentation.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/QbsDocumentation.cmake b/cmake/QbsDocumentation.cmake
index a8ef1bb97..d9bdb7a09 100644
--- a/cmake/QbsDocumentation.cmake
+++ b/cmake/QbsDocumentation.cmake
@@ -201,13 +201,13 @@ function(_qbs_setup_qhelpgenerator_targets _qdocconf_file _html_outputdir)
return()
endif()
+ get_filename_component(_target "${_qdocconf_file}" NAME_WE)
+
set(_html_target "qbs_html_docs_${_target}")
if (NOT TARGET ${_html_target})
return()
endif()
- get_filename_component(_target "${_qdocconf_file}" NAME_WE)
-
set(_qch_outputdir "${_arg_QCH_DIR}")
file(MAKE_DIRECTORY "${_qch_outputdir}")