Merge topic 'qtifw-archivegen'

5ab75dd7dd CPack/IFW: Locate the archivegen utility

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5503
This commit is contained in:
Brad King
2020-11-13 14:43:44 +00:00
committed by Kitware Robot
2 changed files with 14 additions and 0 deletions

View File

@@ -231,6 +231,10 @@ The following variables provide the locations of the QtIFW
command-line tools as discovered by the module :module:`CPackIFW`.
These variables are cached, and may be configured if needed.
.. variable:: CPACK_IFW_ARCHIVEGEN_EXECUTABLE
The path to ``archivegen``.
.. variable:: CPACK_IFW_BINARYCREATOR_EXECUTABLE
The path to ``binarycreator``.

View File

@@ -437,6 +437,16 @@ find_program(CPACK_IFW_DEVTOOL_EXECUTABLE
)
mark_as_advanced(CPACK_IFW_DEVTOOL_EXECUTABLE)
# Look for 'archivegen'
find_program(CPACK_IFW_ARCHIVEGEN_EXECUTABLE
NAMES archivegen
PATHS ${_CPACK_IFW_PATHS}
PATH_SUFFIXES ${_CPACK_IFW_SUFFIXES}
DOC "QtIFW archivegen command line client"
)
mark_as_advanced(CPACK_IFW_ARCHIVEGEN_EXECUTABLE)
#
## Next code is included only once
#