mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-28 14:09:01 +08:00
[cpprestsdk] Use websocketpp from vcpkg instead of cpprest's copy
This commit is contained in:
parent
761d56711e
commit
bfc7a36e92
@ -1,5 +1,5 @@
|
||||
Source: cpprestsdk
|
||||
Version: 2.9.0-1
|
||||
Build-Depends: zlib [windows], openssl [windows], boost [windows]
|
||||
Version: 2.9.0-2
|
||||
Build-Depends: zlib [windows], openssl [windows], boost [windows], websocketpp [windows]
|
||||
Description: C++11 JSON, REST, and OAuth library
|
||||
The C++ REST SDK is a Microsoft project for cloud-based client-server communication in native code using a modern asynchronous C++ API design. This project aims to help C++ developers connect to and interact with services.
|
@ -15,9 +15,13 @@ vcpkg_apply_patches(
|
||||
${CMAKE_CURRENT_LIST_DIR}/0001_cmake.patch
|
||||
)
|
||||
|
||||
SET(WEBSOCKETPP_PATH "${CURRENT_INSTALLED_DIR}/share/websocketpp")
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
SOURCE_PATH ${SOURCE_PATH}/Release
|
||||
OPTIONS
|
||||
-DWEBSOCKETPP_CONFIG=${WEBSOCKETPP_PATH}
|
||||
-DWEBSOCKETPP_CONFIG_VERSION=${WEBSOCKETPP_PATH}
|
||||
-DBUILD_TESTS=OFF
|
||||
-DBUILD_SAMPLES=OFF
|
||||
-DCPPREST_EXCLUDE_WEBSOCKETS=OFF
|
||||
|
Loading…
Reference in New Issue
Block a user