diff --git a/CMakeLists.txt b/CMakeLists.txt index 826827f37..edd94a76d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) diff --git a/test-apps/test-lejp.c b/test-apps/test-lejp.c index 9009d406a..b31770df7 100644 --- a/test-apps/test-lejp.c +++ b/test-apps/test-lejp.c @@ -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; }