[signalrclient] Update to handle cpprestsdk 2.10

This commit is contained in:
Robert Schumacher 2017-10-28 08:50:58 -07:00
parent 32727f26ba
commit 7c3f469568
2 changed files with 7 additions and 7 deletions

View File

@ -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.

View File

@ -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
)