vcpkg/ports/cli/portfile.cmake
Daniele Pallastrelli f732367744
[cli] update to v.2.0.0 (#19744)
* [cli] Update the version to 1.1.1

* [cli] Update the version to 1.2.1

* [cli] Update the version to 1.2.1: fix PR requests

* [aricpp] create a new port (#17162)

* [cli] run the command: ./vcpkg x-add-version --all

* [aricpp] change request for #18048

* Update ports/aricpp/portfile.cmake

* [aricpp] change request for #18048

* Update ports/aricpp/vcpkg.json

* Update ports/aricpp/vcpkg.json

* Update versions/a-/aricpp.json

* Update versions/a-/aricpp.json

* [aricpp] port-version -> 0

* [cli] v. 2.0

* [cli] Update ports/cli/portfile.cmake

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>

* Update ports/cli/portfile.cmake

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>

* [cli] bump port version

* Update versions/c-/cli.json

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>

Co-authored-by: Daniele Pallastrelli <daniele.pallastrelli@sadel.it>
Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>
2021-08-30 10:25:27 -07:00

20 lines
596 B
CMake

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO daniele77/cli
REF v2.0.0
SHA512 8a3e42d02f8bf757628fb876ccfa376771bbe66e7820d7fd5b34119fca262129f5122e67d939e0898b5964a162a8fd4538d5e6ffa96c4935a8c3979e5d5dbd9d
HEAD_REF master
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
)
vcpkg_cmake_install()
vcpkg_copy_pdbs()
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/cli)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug" "${CURRENT_PACKAGES_DIR}/lib")
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)