2017-05-10 11:55:58 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
2019-09-30 01:51:23 +08:00
|
|
|
REPO ReactiveX/RxCpp
|
2019-05-22 12:00:24 +08:00
|
|
|
REF v4.1.0
|
|
|
|
SHA512 a92e817ecbdf6f235cae724ada2615af9fa0c243249625d0f2c2f09ff5dd7f53fdabd03a0278fe2995fe27528c5511d71f87b7a6b3d54f73b49b65aef56e32fd
|
2017-05-10 11:55:58 +08:00
|
|
|
HEAD_REF master
|
2019-09-30 01:51:23 +08:00
|
|
|
PATCHES support_find_package.patch
|
2016-10-08 11:54:43 +08:00
|
|
|
)
|
|
|
|
|
2019-09-30 01:51:23 +08:00
|
|
|
vcpkg_configure_cmake(
|
|
|
|
SOURCE_PATH ${SOURCE_PATH}
|
|
|
|
PREFER_NINJA
|
|
|
|
OPTIONS
|
|
|
|
-DBUILD_TESTS=OFF
|
2016-10-08 11:54:43 +08:00
|
|
|
)
|
|
|
|
|
2019-09-30 01:51:23 +08:00
|
|
|
vcpkg_install_cmake()
|
|
|
|
vcpkg_fixup_cmake_targets(CONFIG_PATH share/${PORT}/cmake/)
|
2016-11-26 13:44:01 +08:00
|
|
|
|
2019-09-30 01:51:23 +08:00
|
|
|
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)
|