Look for alternative implementations of 7zip, like autoconf did

Fixes a regression from the cmake transition where we'd just assume 7zip
as the name of the executable when previously we looked through 7zip,
7za and 7a. Resume the former behavior.

Fixes: #2608
This commit is contained in:
Panu Matilainen 2023-08-14 12:31:06 +03:00
parent bbb289e303
commit f9775b454e
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ function(makemacros)
set(rundir /run)
set(root_prefix /usr)
findutil(__7ZIP 7zip)
findutil(__7ZIP "7zip;7za;7z")
findutil(__BZIP2 bzip2)
findutil(__CAT cat)
findutil(__CHMOD chmod)