From 53f7fb3caad96bd7fb9af73d4ac964c67204798a Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Sun, 10 Sep 2017 11:37:13 +0200 Subject: CMake: Mark BZip2, LZMA, and LZ4 as required We do not actually test without these libraries, and it likely would not build without them due to them being NOTFOUND and CMake exiting with an error, so let's just mark them as required. --- CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index d45409e56..400fdd69e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -103,18 +103,18 @@ if (ZLIB_FOUND) endif() -find_package(BZip2) +find_package(BZip2 REQUIRED) if (BZIP2_FOUND) set(HAVE_BZ2 1) endif() -find_package(LZMA) +find_package(LZMA REQUIRED) if (LZMA_FOUND) set(HAVE_LZMA 1) endif() -find_package(LZ4) +find_package(LZ4 REQUIRED) if (LZ4_FOUND) set(HAVE_LZ4 1) endif() -- cgit v1.2.3