mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-28 13:59:01 +08:00
[cpprestsdk] Fix fixup_targets for new versions of cpprestsdk
This commit is contained in:
parent
10e7bd5772
commit
5d0b56d7c1
@ -1,5 +1,5 @@
|
||||
Source: cpprestsdk
|
||||
Version: 2.10.6
|
||||
Version: 2.10.6-1
|
||||
Build-Depends: zlib, openssl (!uwp), boost-system (!uwp), boost-date-time (!uwp), boost-regex (!uwp), websocketpp (!uwp), boost-thread (!uwp&!windows), boost-filesystem (!uwp&!windows), boost-random (!uwp&!windows), boost-chrono (!uwp&!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.
|
||||
|
@ -32,7 +32,14 @@ vcpkg_configure_cmake(
|
||||
|
||||
vcpkg_install_cmake()
|
||||
|
||||
vcpkg_fixup_cmake_targets()
|
||||
if (EXISTS "${CURRENT_PACKAGES_DIR}/lib/share") # transition
|
||||
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/share/cpprestsdk)
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/lib/share ${CURRENT_PACKAGES_DIR}/lib/share)
|
||||
else()
|
||||
vcpkg_fixup_cmake_targets() # v2.10.6 and below
|
||||
endif()
|
||||
|
||||
|
||||
|
||||
file(INSTALL
|
||||
${SOURCE_PATH}/license.txt
|
||||
|
Loading…
Reference in New Issue
Block a user