aports/testing/libcouchbase/fix_snappy.patch
2016-08-02 00:43:47 +02:00

13 lines
325 B
Diff

--- a/cmake/configure
+++ b/cmake/configure
@@ -287,6 +287,9 @@
}
if ($NO_SNAPPY) {
push @CM_OPTIONS, "-DLCB_NO_SNAPPY=1";
+} else {
+ # the cmake options default NO_SNAPPY to ON, so this is necessary
+ push @CM_OPTIONS, "-DLCB_NO_SNAPPY=0";
}
if ($ENABLE_SNAPPY) {
push @CM_OPTIONS, "-DLCB_NO_SNAPPY=0";