mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-18 13:03:01 +08:00
[signalrclient] Update to handle cpprestsdk 2.10
This commit is contained in:
parent
32727f26ba
commit
7c3f469568
@ -1,4 +1,4 @@
|
||||
Source: signalrclient
|
||||
Version: 1.0.0-beta1-1
|
||||
Version: 1.0.0-beta1-2
|
||||
Build-Depends: cpprestsdk
|
||||
Description: C++ client for SignalR.
|
||||
|
@ -11,17 +11,17 @@ vcpkg_extract_source_archive(${ARCHIVE})
|
||||
vcpkg_apply_patches(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
PATCHES
|
||||
${CMAKE_CURRENT_LIST_DIR}/0001_cmake.patch
|
||||
${CMAKE_CURRENT_LIST_DIR}/0001_cmake.patch
|
||||
)
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
OPTIONS_DEBUG
|
||||
-DCPPREST_SO=${CURRENT_INSTALLED_DIR}/debug/lib/cpprest_2_9.lib
|
||||
OPTIONS_RELEASE
|
||||
-DCPPREST_SO=${CURRENT_INSTALLED_DIR}/lib/cpprest_2_9.lib
|
||||
OPTIONS_DEBUG
|
||||
-DCPPREST_SO=${CURRENT_INSTALLED_DIR}/debug/lib/cpprest_2_10.lib
|
||||
OPTIONS_RELEASE
|
||||
-DCPPREST_SO=${CURRENT_INSTALLED_DIR}/lib/cpprest_2_10.lib
|
||||
OPTIONS
|
||||
-DCPPREST_INCLUDE_DIR=${CURRENT_INSTALLED_DIR}/include
|
||||
-DCPPREST_INCLUDE_DIR=${CURRENT_INSTALLED_DIR}/include
|
||||
-DDISABLE_TESTS=ON
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user