mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-30 20:59:12 +08:00
3434e5cbab
* Update promise-cpp to 1.0.3 * Update CI baseline * Fix portfile * Update git-tree hash * Update to version 2.1.0 * Update CI baseline and git-tree hash * Add usage * Update git-tree hash * Update to promise-cpp 2.1.2 * Update git-tree hash Co-authored-by: chausner <chausner@users.noreply.github.com>
16 lines
665 B
CMake
16 lines
665 B
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO xhawk18/promise-cpp
|
|
REF 2.1.2
|
|
SHA512 490571e6d6742e05ae6a2549af4e242a1d7084edc583fbbb183798bdddb25d08a7f68becfa94f55b877cba7e2e8e8515964f892881591b5bb394b4b33e6593f7
|
|
HEAD_REF master
|
|
PATCHES fix-ifdef.patch
|
|
)
|
|
|
|
file(GLOB PROMISE_HEADERS "${SOURCE_PATH}/include/*.hpp")
|
|
file(INSTALL "${SOURCE_PATH}/include/promise-cpp" DESTINATION "${CURRENT_PACKAGES_DIR}/include")
|
|
|
|
file(INSTALL "${SOURCE_PATH}/LICENSE.md" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
|
|
|
file(COPY "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
|