summaryrefslogtreecommitdiff
path: root/Utilities/Sphinx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-04-07 09:37:06 -0400
committerBrad King <brad.king@kitware.com>2022-04-07 09:37:37 -0400
commitbf69fa32c4301482fcb3bbfb6733314b9e95c36f (patch)
tree4c2360221b2374787d5808ae666d6cc2313f8253 /Utilities/Sphinx
parent37904abb58fce06c34919484b2d6c470f204b2d6 (diff)
downloadcmake-bf69fa32c4301482fcb3bbfb6733314b9e95c36f.tar.gz
Utilities/Sphinx: Update qthelp generation to qhelpgenerator
`qcollectiongenerator` is deprecated in favor of `qhelpgenerator`.
Diffstat (limited to 'Utilities/Sphinx')
-rw-r--r--Utilities/Sphinx/CMakeLists.txt12
1 files changed, 6 insertions, 6 deletions
diff --git a/Utilities/Sphinx/CMakeLists.txt b/Utilities/Sphinx/CMakeLists.txt
index 402c7c6f67..981e554a7d 100644
--- a/Utilities/Sphinx/CMakeLists.txt
+++ b/Utilities/Sphinx/CMakeLists.txt
@@ -102,12 +102,12 @@ endif()
if(SPHINX_QTHELP)
find_package(PythonInterp REQUIRED)
- find_program(QCOLLECTIONGENERATOR_EXECUTABLE
- NAMES qcollectiongenerator-qt5 qcollectiongenerator
- DOC "qcollectiongenerator tool"
+ find_program(QHELPGENERATOR_EXECUTABLE
+ NAMES qhelpgenerator-qt5 qhelpgenerator
+ DOC "qhelpgenerator tool"
)
- if (NOT QCOLLECTIONGENERATOR_EXECUTABLE)
- message(FATAL_ERROR "QCOLLECTIONGENERATOR_EXECUTABLE (qcollectiongenerator) not found!")
+ if(NOT QHELPGENERATOR_EXECUTABLE)
+ message(FATAL_ERROR "QHELPGENERATOR_EXECUTABLE (qhelpgenerator) not found!")
endif()
list(APPEND doc_formats qthelp)
@@ -127,7 +127,7 @@ if(SPHINX_QTHELP)
"${CMAKE_CURRENT_SOURCE_DIR}/create_identifiers.py"
"${CMAKE_CURRENT_BINARY_DIR}/qthelp/"
- COMMAND ${QCOLLECTIONGENERATOR_EXECUTABLE}
+ COMMAND ${QHELPGENERATOR_EXECUTABLE}
${CMAKE_CURRENT_BINARY_DIR}/qthelp/CMake.qhcp
)
endif()