uwebsocket on linux need c++ support (#3455)

* uwebsocket on linux need c++ support

* [uwebsockets] Compile feature required on all platforms

* [libuv] Install pthread-barrier.h
This commit is contained in:
alqaz 2018-05-18 18:00:09 +08:00 committed by Robert Schumacher
parent 15776d1d65
commit ddcc4ad334
4 changed files with 6 additions and 3 deletions

View File

@ -61,7 +61,9 @@ if(NOT UV_SKIP_HEADERS)
include/uv-win.h
include/uv-unix.h
include/uv-darwin.h
DESTINATION include)
include/pthread-barrier.h
DESTINATION include
)
endif()
install(TARGETS libuv

View File

@ -1,3 +1,3 @@
Source: libuv
Version: 1.20.3-1
Version: 1.20.3-2
Description: libuv is a multi-platform support library with a focus on asynchronous I/O.

View File

@ -11,6 +11,7 @@ file(GLOB SOURCES src/*.cpp)
add_library(uWS ${SOURCES})
target_include_directories(uWS PUBLIC ${OPENSSL_INCLUDE_DIR} ${ZLIB_INCLUDE_DIRS})
target_link_libraries(uWS PUBLIC ${OPENSSL_LIBRARIES} ${ZLIB_LIBRARIES} ${LIBUV_LIBRARY})
target_compile_features(uWS PRIVATE cxx_range_for)
install(TARGETS uWS
RUNTIME DESTINATION bin

View File

@ -1,4 +1,4 @@
Source: uwebsockets
Version: 0.14.8-1
Version: 0.14.8-2
Build-Depends: libuv, openssl, zlib
Description: Highly scalable cross-platform WebSocket & HTTP library for C++11 and Node.js