aboutsummaryrefslogtreecommitdiffstats
path: root/community/libcouchbase/fix_snappy.patch
blob: 5e4281b186d50416ee54bc32b5953dd3b2e01e98 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- 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";