Florian Festi b1dddb
From d18d6ce41df4a5887df47a69052a401808aef19f Mon Sep 17 00:00:00 2001
Florian Festi b1dddb
From: Florian Festi <ffesti@redhat.com>
Florian Festi b1dddb
Date: Mon, 8 May 2023 17:50:21 +0200
Florian Festi b1dddb
Subject: [PATCH] Fix bzip2 detection
Florian Festi b1dddb
Florian Festi b1dddb
HAVE_BZLIB_H was not set due to a typo leading to the bz2 support not
Florian Festi b1dddb
being compiled in although the library was detected correctly.
Florian Festi b1dddb
---
Florian Festi b1dddb
 CMakeLists.txt | 2 +-
Florian Festi b1dddb
 1 file changed, 1 insertion(+), 1 deletion(-)
Florian Festi b1dddb
Florian Festi b1dddb
diff --git a/CMakeLists.txt b/CMakeLists.txt
Florian Festi b1dddb
index 9718505bf..4a5332f4b 100644
Florian Festi b1dddb
--- a/CMakeLists.txt
Florian Festi b1dddb
+++ b/CMakeLists.txt
Florian Festi b1dddb
@@ -272,7 +272,7 @@ id0name(UID_0_USER /etc/passwd)
Florian Festi b1dddb
 id0name(GID_0_GROUP /etc/group)
Florian Festi b1dddb
 
Florian Festi b1dddb
 # map module/package findings to config.h
Florian Festi b1dddb
-if (${Bzip2_FOUND})
Florian Festi b1dddb
+if (${BZIP2_FOUND})
Florian Festi b1dddb
 	set(HAVE_BZLIB_H 1)
Florian Festi b1dddb
 endif()
Florian Festi b1dddb
 if (${LIBLZMA_FOUND})
Florian Festi b1dddb
-- 
Florian Festi b1dddb
2.40.1
Florian Festi b1dddb