aboutsummaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorAndy Green <andy@warmcat.com>2019-08-10 09:33:07 +0100
committerAndy Green <andy@warmcat.com>2019-08-12 12:44:36 +0100
commitd3021980194991d175388115a65a4265bd155f36 (patch)
tree05cba96deed90fc48c8bef7f5521d20aaa8e22e6 /cmake
parent7b517eac87a52e26e0eb5c8ec1f47fe10ac57044 (diff)
downloadlibwebsockets-d3021980194991d175388115a65a4265bd155f36.tar.gz
external poll: add default-off cmake option
External poll support generates a lot of messages on a busy system for no value unless you're one of the few people using it. It's not recommended for new users and is there for backwards compatibility. Make it not built by default and selectable by cmake option.
Diffstat (limited to 'cmake')
-rw-r--r--cmake/lws_config.h.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/lws_config.h.in b/cmake/lws_config.h.in
index 021024bf..9690a480 100644
--- a/cmake/lws_config.h.in
+++ b/cmake/lws_config.h.in
@@ -100,6 +100,7 @@
#cmakedefine LWS_WITH_DEPRECATED_LWS_DLL
#cmakedefine LWS_WITH_DIR
#cmakedefine LWS_WITH_ESP32
+#cmakedefine LWS_WITH_EXTERNAL_POLL
#cmakedefine LWS_WITH_FTS
#cmakedefine LWS_WITH_GENCRYPTO
#cmakedefine LWS_WITH_GENERIC_SESSIONS