1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-09 00:00:04 +01:00

cmake: LEJF and LEJP_CONF now on by default

This commit is contained in:
Andy Green 2018-08-05 18:18:40 +08:00
parent f44e38f148
commit f37454ab17
2 changed files with 4 additions and 2 deletions

View file

@ -90,8 +90,8 @@ option(LWS_WITHOUT_BUILTIN_SHA1 "Don't build the lws sha-1 (eg, because openssl
option(LWS_WITH_LATENCY "Build latency measuring code into the library" OFF)
option(LWS_WITHOUT_DAEMONIZE "Don't build the daemonization api" ON)
option(LWS_SSL_SERVER_WITH_ECDH_CERT "Include SSL server use ECDH certificate" OFF)
option(LWS_WITH_LEJP "With the Lightweight JSON Parser" OFF)
option(LWS_WITH_LEJP_CONF "With LEJP configuration parser as used by lwsws" OFF)
option(LWS_WITH_LEJP "With the Lightweight JSON Parser" ON)
option(LWS_WITH_LEJP_CONF "With LEJP configuration parser as used by lwsws" ON)
option(LWS_WITH_SQLITE3 "Require SQLITE3 support" OFF)
option(LWS_WITH_SMTP "Provide SMTP support" OFF)
option(LWS_WITH_NO_LOGS "Disable all logging from being compiled in" OFF)

View file

@ -65,6 +65,8 @@ cb(struct lejp_ctx *ctx, char reason)
lwsl_notice("%s (%s)\r\n", buf,
reason_names[(unsigned int)
(reason) & (LEJP_FLAG_CB_IS_VALUE - 1)]);
(void)reason_names; /* NO_LOGS... */
return 0;
}