summaryrefslogtreecommitdiff
path: root/Modules
diff options
context:
space:
mode:
authorErlend Egeberg Aasland <erlend.aasland@innova.no>2020-11-12 06:10:49 -0500
committerErlend E. Aasland <erlend.aasland@innova.no>2020-11-12 21:22:53 +0100
commit5ab75dd7dd3ef776fee0f7d7fcf2a559b5e415de (patch)
treed2b92b4b655990aecb879080b9ff564c8bb63b8c /Modules
parente23f9d8a023e3657f974d6d4612437ccbc98c7c7 (diff)
downloadcmake-5ab75dd7dd3ef776fee0f7d7fcf2a559b5e415de.tar.gz
CPack/IFW: Locate the archivegen utility
Fixes: #21427
Diffstat (limited to 'Modules')
-rw-r--r--Modules/CPackIFW.cmake10
1 files changed, 10 insertions, 0 deletions
diff --git a/Modules/CPackIFW.cmake b/Modules/CPackIFW.cmake
index 58e6a375f4..5d5c235626 100644
--- a/Modules/CPackIFW.cmake
+++ b/Modules/CPackIFW.cmake
@@ -436,6 +436,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
#