summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Andres Klode <julian.klode@canonical.com>2018-04-18 13:14:55 +0200
committerJulian Andres Klode <julian.klode@canonical.com>2018-04-18 16:33:49 +0200
commitd09818822f9410fbfbb13a581c6ca9093e065830 (patch)
treed1bd447c51cf428681d1a5da9de8cb8ac8238a60
parent73c5027cf8ceabf7bb72fe08d4d86d07d3d72461 (diff)
Make libzstd optional in CMakeLists.txt, to aid cross-building
This makes cross-building a bit easier, and also porting to other platforms. (cherry picked from commit 7d6994799f6782ba5e024ad0861e036d93e5f447)
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6fdc0b12c..c847e22b2 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -103,7 +103,7 @@ if (LZ4_FOUND)
set(HAVE_LZ4 1)
endif()
-find_package(Zstd REQUIRED)
+find_package(Zstd)
if (ZSTD_FOUND)
set(HAVE_ZSTD 1)
endif()