aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralqaz <alqaz@outlook.com>2018-05-18 18:00:09 +0800
committerRobert Schumacher <roschuma@microsoft.com>2018-05-18 03:00:09 -0700
commitddcc4ad33450636dc126384c953d8fb03e8d05c2 (patch)
tree2227805ef49ed30bd2ce1312ab906d0615d338cd
parent15776d1d655543bc1eceb5f930cf6028ce44f176 (diff)
downloadvcpkg-ddcc4ad33450636dc126384c953d8fb03e8d05c2.tar.gz
vcpkg-ddcc4ad33450636dc126384c953d8fb03e8d05c2.zip
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
-rw-r--r--ports/libuv/CMakeLists.txt4
-rw-r--r--ports/libuv/CONTROL2
-rw-r--r--ports/uwebsockets/CMakeLists.txt1
-rw-r--r--ports/uwebsockets/CONTROL2
4 files changed, 6 insertions, 3 deletions
diff --git a/ports/libuv/CMakeLists.txt b/ports/libuv/CMakeLists.txt
index 2ebc71612..538169e09 100644
--- a/ports/libuv/CMakeLists.txt
+++ b/ports/libuv/CMakeLists.txt
@@ -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
diff --git a/ports/libuv/CONTROL b/ports/libuv/CONTROL
index 1c916abe7..6affcb3c2 100644
--- a/ports/libuv/CONTROL
+++ b/ports/libuv/CONTROL
@@ -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.
diff --git a/ports/uwebsockets/CMakeLists.txt b/ports/uwebsockets/CMakeLists.txt
index 43ccd039c..c3c4f97d8 100644
--- a/ports/uwebsockets/CMakeLists.txt
+++ b/ports/uwebsockets/CMakeLists.txt
@@ -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
diff --git a/ports/uwebsockets/CONTROL b/ports/uwebsockets/CONTROL
index 3871e8691..c212611de 100644
--- a/ports/uwebsockets/CONTROL
+++ b/ports/uwebsockets/CONTROL
@@ -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