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.
 
 
 
 
 
 

32 lines
1.2 KiB

Index: CMakeLists.txt
--- CMakeLists.txt.orig 2016-02-20 02:20:36.000000000 +0100
+++ CMakeLists.txt 2016-02-20 10:24:57.752575245 +0100
@@ -510,9 +510,9 @@
set(VISIBILITY_FLAG -fvisibility=hidden)
endif()
if (UNIX)
- set(CMAKE_C_FLAGS "-Wall -Werror ${VISIBILITY_FLAG} ${CMAKE_C_FLAGS}" )
+ set(CMAKE_C_FLAGS "${VISIBILITY_FLAG} ${CMAKE_C_FLAGS}" )
else(UNIX)
- set(CMAKE_C_FLAGS "-Wall ${VISIBILITY_FLAG} ${CMAKE_C_FLAGS}" )
+ set(CMAKE_C_FLAGS "${VISIBILITY_FLAG} ${CMAKE_C_FLAGS}" )
endif(UNIX)
endif ()
@@ -1044,7 +1044,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}"
)
@@ -1067,7 +1067,6 @@
# Export targets (This is used for other CMake projects to easily find the libraries and include files).
export(TARGETS ${LWS_LIBRARIES}
FILE "${PROJECT_BINARY_DIR}/LibwebsocketsTargets.cmake")
-export(PACKAGE libwebsockets)
# Generate the config file for the build-tree.
set(LWS__INCLUDE_DIRS