mirror of
https://github.com/cemu-project/vcpkg.git
synced 2025-02-23 02:57:09 +01:00
[rxcpp] Use vcpkg_from_github()
This commit is contained in:
parent
8b9ec93d09
commit
29cc5780fe
@ -1,3 +1,3 @@
|
||||
Source: rxcpp
|
||||
Version: 4.0.0
|
||||
Version: 4.0.0-1
|
||||
Description: Reactive Extensions for C++
|
@ -1,12 +1,14 @@
|
||||
#header-only library
|
||||
include(vcpkg_common_functions)
|
||||
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/RxCpp-4.0.0)
|
||||
vcpkg_download_distfile(ARCHIVE
|
||||
URLS "https://github.com/Reactive-Extensions/RxCpp/archive/v4.0.0.tar.gz"
|
||||
FILENAME "RxCpp-v4.0.0.tar.gz"
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO Reactive-Extensions/RxCpp
|
||||
REF v4.0.0
|
||||
SHA512 df7582925e749fb7f9fbc085566d57a46571e18202aacaa7d35cf9da8152b29dd2886b2d07dae93e538f2a0f7b91d93fb3da23c34c7ea4467772515c794a25b7
|
||||
HEAD_REF master
|
||||
)
|
||||
vcpkg_extract_source_archive(${ARCHIVE})
|
||||
|
||||
file(INSTALL
|
||||
${SOURCE_PATH}/Rx/v2/src/rxcpp
|
||||
|
Loading…
x
Reference in New Issue
Block a user