mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 00:31:37 +08:00
44eff6b7b5
* [etcdpp] Add new port * [ports/etcdpp/CONTROL] Added homepage * [etcdpp] Change header namespace * [etcdcpp] Change target and port names * rename changes * change version to date offscale-libetcd-cpp is a rolling-release port
20 lines
562 B
CMake
20 lines
562 B
CMake
include(vcpkg_common_functions)
|
|
|
|
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO offscale/libetcd-cpp
|
|
REF 8607d8d7080c6eb447bc41b799a24bfdb87cf638
|
|
SHA512 9bf4bf14fd52f4f6bbf8cf68de61e6a19eeffbdc501f05c8f614b5f13f206410884afd7fe226a077448e58e02990c65a6b27ee895ed34ba5ee701abe0500b875
|
|
HEAD_REF master
|
|
)
|
|
|
|
vcpkg_configure_cmake(
|
|
SOURCE_PATH ${SOURCE_PATH}
|
|
PREFER_NINJA
|
|
)
|
|
vcpkg_install_cmake()
|
|
|
|
file(INSTALL ${SOURCE_PATH}/LICENSE-MIT DESTINATION ${CURRENT_PACKAGES_DIR}/share/offscale-libetcd-cpp RENAME copyright)
|
|
|
|
vcpkg_copy_pdbs()
|