mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-30 04:59:00 +08:00
7fbb19602a
* [coroutine] update to 1.5.0 * this is release candidate * WindowsStore build will be updated soon * [coroutine] support UWP build * triplet(community) `x64-uwp`, `x86-uwp` * triplet: `arm-uwp`, `arm64-windows` * [coroutine] mark install failure on uwp/linux * update checksum * use `vcpkg_fail_port_install` * [coroutine] remove x86-windows fail in ci.baseline * [coroutine] Relax install restrictions on Linux. Use vcpkg_fixup_cmake_targets(). Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
32 lines
890 B
CMake
32 lines
890 B
CMake
vcpkg_fail_port_install(ON_TARGET "UWP")
|
|
|
|
if(VCPKG_TARGET_IS_LINUX)
|
|
message("Warning: `coroutine` requires libc++ and Clang or GCC 10+ on Linux")
|
|
endif()
|
|
|
|
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO luncliff/coroutine
|
|
REF 1.5.0
|
|
SHA512 61b91fdc641b6905b884e99c5bf193ec2cf6962144ab3baafdb9432115757d96f3797f116b30356f0d21417b23082bc908f75042721caeab3329c4910b654594
|
|
HEAD_REF master
|
|
)
|
|
|
|
vcpkg_configure_cmake(
|
|
SOURCE_PATH ${SOURCE_PATH}
|
|
PREFER_NINJA
|
|
OPTIONS
|
|
-DGSL_INCLUDE_DIR=${CURRENT_INSTALLED_DIR}/include
|
|
-DBUILD_TESTING=False
|
|
)
|
|
vcpkg_install_cmake()
|
|
vcpkg_fixup_cmake_targets()
|
|
|
|
file(INSTALL ${SOURCE_PATH}/LICENSE
|
|
DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT}
|
|
RENAME copyright
|
|
)
|
|
vcpkg_copy_pdbs()
|
|
|
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|