You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
1.8 KiB
45 lines
1.8 KiB
Index: CMakeLists.txt |
|
--- CMakeLists.txt.orig 2021-10-04 15:30:52.000000000 +0200 |
|
+++ CMakeLists.txt 2021-10-04 19:53:20.119029000 +0200 |
|
@@ -790,9 +790,9 @@ |
|
|
|
# always warn all and generate debug info |
|
if (UNIX AND NOT LWS_PLAT_FREERTOS) |
|
- set(CMAKE_C_FLAGS "-Wall -Wextra -Wno-unused-parameter -Wconversion -Wsign-compare -Wstrict-aliasing ${VISIBILITY_FLAG} -Wundef ${GCOV_FLAGS} ${CMAKE_C_FLAGS} ${ASAN_FLAGS}" ) |
|
+ set(CMAKE_C_FLAGS "-Wno-unused-parameter ${VISIBILITY_FLAG} ${GCOV_FLAGS} ${CMAKE_C_FLAGS} ${ASAN_FLAGS}" ) |
|
else() |
|
- set(CMAKE_C_FLAGS "-Wall -Wsign-compare ${VISIBILITY_FLAG} ${GCOV_FLAGS} ${CMAKE_C_FLAGS}" ) |
|
+ set(CMAKE_C_FLAGS "${VISIBILITY_FLAG} ${GCOV_FLAGS} ${CMAKE_C_FLAGS}" ) |
|
endif() |
|
|
|
if ("${DISABLE_WERROR}" STREQUAL "OFF") |
|
@@ -1035,8 +1035,6 @@ |
|
# Installation preparations. |
|
# |
|
|
|
-export(PACKAGE libwebsockets) |
|
- |
|
install(DIRECTORY include/libwebsockets |
|
DESTINATION "${LWS_INSTALL_INCLUDE_DIR}" COMPONENT dev) |
|
install(FILES ${PROJECT_BINARY_DIR}/include/libwebsockets.h ${PROJECT_BINARY_DIR}/include/lws_config.h |
|
Index: lib/CMakeLists.txt |
|
--- lib/CMakeLists.txt.orig 2021-10-04 15:30:52.000000000 +0200 |
|
+++ lib/CMakeLists.txt 2021-10-04 19:50:08.800283000 +0200 |
|
@@ -308,7 +308,7 @@ |
|
Description: Websockets server and client library |
|
Version: ${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH} |
|
|
|
-Libs: -L\${libdir} -lwebsockets |
|
+Libs: -L\${libdir} -lwebsockets -lssl -lcrypto -lz |
|
Cflags: -I\${includedir} |
|
" |
|
) |
|
@@ -330,7 +330,7 @@ |
|
Description: Websockets server and client static library |
|
Version: ${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH} |
|
|
|
-Libs: -L\${libdir} -lwebsockets_static |
|
+Libs: -L\${libdir} -lwebsockets_static -lssl -lcrypto -lz |
|
Libs.private: |
|
Cflags: -I\${includedir} |
|
"
|
|
|