vcpkg/ports/rxcpp/portfile.cmake
tqcq 5f631cf955
[rxcpp] upgrade version from v4.1.0 to v4.1.1 (#25557)
* feature upgrade rxcpp version from v4.1.0 to v4.1.1

* feature x-add-version

* fix rxcpp version hash diff

* feature migrating new cmake function

* feature upgrade vcpkg from v4.1.0 to v4.1.1

* fix format-manifest

* feature use version instead of version-string

* feature run x-add-version for rxcpp

* feature add license to rxcpp

* feature x-add-version for rxcpp

* update vcpkg.json

* update version

Co-authored-by: Jonliu1993 <13720414433@163.com>
2022-07-13 10:35:33 -07:00

19 lines
643 B
CMake

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO ReactiveX/RxCpp
REF v4.1.1
SHA512 387e1276151a19b62fd1d36b486ff5f3ed28f0f48ae8b00902bf13464d20603f492ecd63ab4444d04293fc3d92a8f7ce3e67a4c68836415c4655331fb6b54edb
HEAD_REF master
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(CONFIG_PATH share/${PORT}/cmake/)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug)
file(COPY ${SOURCE_PATH}/license.md DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT})
file(RENAME ${CURRENT_PACKAGES_DIR}/share/${PORT}/license.md ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright)