summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Festi <ffesti@redhat.com>2023-05-08 17:50:21 +0200
committerPanu Matilainen <pmatilai@redhat.com>2023-05-09 10:08:12 +0300
commitd18d6ce41df4a5887df47a69052a401808aef19f (patch)
tree11c9d8100ad8a0056865cc0c0c8973cb33d2ce88
parent760eb86380ce2ffba187bfa191c0e13b7552d5c4 (diff)
downloadrpm-d18d6ce41df4a5887df47a69052a401808aef19f.tar.gz
Fix bzip2 detection
HAVE_BZLIB_H was not set due to a typo leading to the bz2 support not being compiled in although the library was detected correctly.
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9718505bf..4a5332f4b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -272,7 +272,7 @@ id0name(UID_0_USER /etc/passwd)
id0name(GID_0_GROUP /etc/group)
# map module/package findings to config.h
-if (${Bzip2_FOUND})
+if (${BZIP2_FOUND})
set(HAVE_BZLIB_H 1)
endif()
if (${LIBLZMA_FOUND})