vcpkg/ports/reactiveplusplus/portfile.cmake
Jia Yue Hua 75b18d6e72
[reactiveplusplus] update to 2.0.0 (#36433)
* [reactiveplusplus] update to 2.0.0

* [reactiveplusplus] update to 2.0.0
2024-01-31 14:39:01 -08:00

20 lines
642 B
CMake

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO victimsnino/ReactivePlusPlus
REF "v${VERSION}"
SHA512 b19a164bf19f787ca182f88a616317eea122b76fea9ab0b90b2fe05e30ab94a7540b33aef1156003141dd4b0bc30b41bf2dc224a8cbe31707ab111bcfd7a3c5b
HEAD_REF master
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(PACKAGE_NAME RPP CONFIG_PATH share/RPP)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
file(GLOB_RECURSE CMAKE_LISTS "${CURRENT_PACKAGES_DIR}/include/CMakeLists.txt")
file(REMOVE ${CMAKE_LISTS})
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")