From 4b61b244eb1cda2be2b8aa23776f5d1c7527f5c4 Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Mon, 14 Aug 2023 12:31:06 +0300 Subject: [PATCH] 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 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 30f4130289..55c1d21696 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)