aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libcouchbase/fix_snappy.patch
blob: 7756296a25da075c893c589e7c3e4b383cabfbf8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- a/cmake/configure
+++ b/cmake/configure
@@ -285,6 +285,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 ($STATIC_SNAPPY) {
     push @CM_OPTIONS, "-DLCB_STATIC_SNAPPY";