File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,14 @@ option(NATS_BUILD_EXAMPLES "Build examples" ON)
41
41
option (NATS_BUILD_LIBUV_EXAMPLE "Build libuv examples" OFF )
42
42
option (NATS_BUILD_LIBEVENT_EXAMPLE "Build libevent examples" OFF )
43
43
option (NATS_BUILD_STATIC_EXAMPLES "Statically link examples" OFF )
44
- option (NATS_BUILD_STREAMING "Build NATS Streaming" ON )
44
+
45
+ # Streaming is deprecated, but we still support it for now.
46
+ # We will remove it in the future. If you are starting a new project,
47
+ # please use JetStream. Another reason for disabling this is that
48
+ # building with streaming requires protobuf-c and building on Windows
49
+ # is not as straightforward as building without it.
50
+ option (NATS_BUILD_STREAMING "Build NATS Streaming" OFF )
51
+
45
52
option (NATS_BUILD_NO_PREFIX_CONNSTS "No prefix for connection status enum" OFF )
46
53
option (NATS_BUILD_LIB_STATIC "Build static library" ON )
47
54
option (NATS_BUILD_LIB_SHARED "Build shared library" ON )
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ if [ "$1" != "gcc" ]; then
54
54
fi
55
55
fi
56
56
57
- cmake .. $3
57
+ cmake .. $3 -DNATS_BUILD_STREAMING=ON
58
58
res=$?
59
59
if [ $res -ne 0 ]; then
60
60
exit $res
You can’t perform that action at this time.
0 commit comments