mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-26 21:19:01 +08:00
48aeaba25e
* Kubernetes C Client's port * Kubernetes C Client's port * Replace deprecated methods * Add version file * Remove extra include directories * Fix version * Use vcpkg_from_github with a valid hash Remove usage file * Fix Aws Crypto Abstraction Layer and S2N builds * Update library version * Update library version * Update ports/kubernetes/vcpkg.json Co-authored-by: Phoebe <20694052+PhoebeHui@users.noreply.github.com> * Update ports/kubernetes/portfile.cmake Co-authored-by: Phoebe <20694052+PhoebeHui@users.noreply.github.com> * Update ports/kubernetes/vcpkg.json Co-authored-by: Phoebe <20694052+PhoebeHui@users.noreply.github.com> * Update version Co-authored-by: Ahmed Yarub Hani Al Nuaimi <ahmed.alnuaimi@zwift.com> Co-authored-by: Phoebe <20694052+PhoebeHui@users.noreply.github.com>
27 lines
789 B
CMake
27 lines
789 B
CMake
vcpkg_fail_port_install(ON_TARGET "UWP")
|
|
|
|
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO kubernetes-client/c
|
|
REF ecc9efc23656e747e97f86fbe2810f7e8471990f
|
|
SHA512 e9bb1b6f68aacd82df2b33fcb432fdfee5fb56e0426835f8480afff1c2545f483eb0f4edeafb2e866ea74918d748aa48655b5819909c13a88f693e371047e8b7
|
|
HEAD_REF master
|
|
PATCHES
|
|
001-fix-destination.patch
|
|
)
|
|
|
|
vcpkg_cmake_configure(
|
|
SOURCE_PATH ${SOURCE_PATH}/kubernetes
|
|
)
|
|
|
|
vcpkg_cmake_install()
|
|
|
|
if (NOT VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL debug)
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
|
endif()
|
|
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/${PORT})
|
|
|
|
vcpkg_copy_pdbs()
|
|
|
|
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) |