Skip to content

Commit

Permalink
Use identical settings for libwebsockets as used in everest-framework
Browse files Browse the repository at this point in the history
Signed-off-by: Kai-Uwe Hermann <[email protected]>
  • Loading branch information
hikinggrass committed Dec 22, 2023
1 parent 8cd264d commit d7f3f0b
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
20 changes: 20 additions & 0 deletions dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,24 @@ libwebsockets:
git: https://github.com/warmcat/libwebsockets.git
git_tag: v4.3.3
cmake_condition: "LIBOCPP_ENABLE_LIBWEBSOCKETS"
options:
- CMAKE_POLICY_DEFAULT_CMP0077 NEW
- LWS_ROLE_RAW_FILE OFF
- LWS_UNIX_SOCK OFF
- LWS_WITH_SYS_STATE OFF
- LWS_WITH_SYS_SMD OFF
- LWS_WITH_UPNG OFF
- LWS_WITH_JPEG OFF
- LWS_WITH_DLO OFF
- LWS_WITH_SECURE_STREAMS OFF
- LWS_WITH_STATIC OFF
- LWS_WITH_LHP OFF
- LWS_WITH_LEJP_CONF OFF
- LWS_WITH_MINIMAL_EXAMPLES OFF
- LWS_WITH_CACHE_NSCOOKIEJAR OFF
- LWS_WITHOUT_TESTAPPS ON
- LWS_WITHOUT_TEST_SERVER ON
- LWS_WITHOUT_TEST_SERVER_EXTPOLL ON
- LWS_WITHOUT_TEST_PING ON
- LWS_WITHOUT_TEST_CLIENT ON

2 changes: 1 addition & 1 deletion lib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ if(LIBOCPP_ENABLE_LIBWEBSOCKETS)
find_package(libwebsockets REQUIRED)
target_link_libraries(ocpp
PUBLIC
websockets
websockets_shared
)
target_compile_definitions(ocpp
PRIVATE
Expand Down

0 comments on commit d7f3f0b

Please sign in to comment.