diff options
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 27f0321e..e123c3fd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -168,6 +168,11 @@ if (NNG_TRANSPORT_TCP) add_definitions (-DNNG_HAVE_TCP) endif () +option (NNG_TRANSPORT_WS "Enable WebSocket transport." ON) +if (NNG_TRANSPORT_WS) + add_definitions (-DNNG_HAVE_WEBSOCKET) +endif () + option (NNG_TRANSPORT_ZEROTIER "Enable ZeroTier transport (requires libzerotiercore)." OFF) if (NNG_TRANSPORT_ZEROTIER) add_definitions (-DNNG_HAVE_ZEROTIER) |
