mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 03:10:57 +08:00
[curlpp] restore installing vcpkg-cmake-wrapper scriptù (#9065)
This commit is contained in:
parent
e595f0e59e
commit
e3488c9cf8
@ -1,4 +1,4 @@
|
||||
Source: curlpp
|
||||
Version: 2018-06-15-1
|
||||
Version: 2018-06-15-2
|
||||
Description: C++ wrapper around libcURL
|
||||
Build-Depends: curl
|
||||
|
@ -1,5 +1,3 @@
|
||||
include(vcpkg_common_functions)
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO jpbarrette/curlpp
|
||||
@ -17,10 +15,7 @@ vcpkg_configure_cmake(
|
||||
|
||||
vcpkg_install_cmake()
|
||||
|
||||
vcpkg_fixup_cmake_targets(
|
||||
CONFIG_PATH lib/cmake/${PORT}
|
||||
TARGET_PATH share/unofficial-${PORT}
|
||||
)
|
||||
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/${PORT} TARGET_PATH share/unofficial-${PORT})
|
||||
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
||||
|
||||
@ -31,11 +26,9 @@ if(VCPKG_LIBRARY_LINKAGE STREQUAL static)
|
||||
)
|
||||
endif()
|
||||
|
||||
# Handle copyright
|
||||
configure_file(${SOURCE_PATH}/doc/LICENSE
|
||||
${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY)
|
||||
|
||||
vcpkg_copy_pdbs()
|
||||
vcpkg_test_cmake(PACKAGE_NAME unofficial-${PORT})
|
||||
|
||||
file(INSTALL ${SOURCE_PATH}/doc/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
||||
file(INSTALL ${CMAKE_CURRENT_LIST_DIR}/vcpkg-cmake-wrapper.cmake DESTINATION ${CURRENT_PACKAGES_DIR}/share/unofficial-${PORT})
|
||||
|
||||
# CMake integration test
|
||||
#vcpkg_test_cmake(PACKAGE_NAME ${PORT})
|
||||
|
Loading…
x
Reference in New Issue
Block a user