Skip to content

Commit

Permalink
Update libwebsockets-CMakeLists.txt
Browse files Browse the repository at this point in the history
add flag needs for ingenic gcc 5.4 toolchain, ref: warmcat/libwebsockets#3163
  • Loading branch information
hassanctech authored Aug 29, 2024
1 parent 4b5ed47 commit e40fab5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CMake/Dependencies/libwebsockets-CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ ExternalProject_Add(project_libwebsockets
-DCMAKE_INSTALL_PREFIX=${OPEN_SRC_INSTALL_PREFIX}
-DCMAKE_C_FLAGS=${CMAKE_C_FLAGS}
-DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}
-DDISABLE_WERROR=ON
-DLWS_WITH_HTTP2=1
-DLWS_HAVE_HMAC_CTX_new=1
-DLWS_HAVE_SSL_EXTRA_CHAIN_CERTS=1
Expand All @@ -63,4 +64,4 @@ ExternalProject_Add(project_libwebsockets
-DLWS_OPENSSL_LIBRARIES=${LWS_OPENSSL_LIBRARIES}
BUILD_ALWAYS TRUE
TEST_COMMAND ""
)
)

0 comments on commit e40fab5

Please sign in to comment.