mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-29 20:09:00 +08:00
38dd6b15ad
* Add libcoro 0.7 * Update CI baseline * Add "supports": "!windows" * Update CI baseline * Remove unneeded vcpkg-cmake-config dependency * Update CI baseline * Disable x64-linux and x64-osx in ci.baseline.txt * Apply code review suggestions * Update CI baseline * Add patch to disable git config * Update CI baseline * Fix patch * Update CI baseline * Allow shared library builds * Update CI baseline * Update libcoro to version 0.8 * Update CI baseline * Update CI baseline * Fix line endings * Update CI baseline * Fix hash * Update CI baseline * Update version database * Force rerun of CI pipeline * Update to libcoro 0.9 * Update CI baseline * Replace manual dependency check with manifest-based one * Remove v0.8 version * Update CI baseline --------- Co-authored-by: chausner <chausner@users.noreply.github.com> Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
35 lines
939 B
CMake
35 lines
939 B
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO jbaldwin/libcoro
|
|
REF "v${VERSION}"
|
|
SHA512 9554fcaf721188e2475933fb8fe6b35f879479af9acb8b011545d66e588a98811f69100a4392e62c3c8bf05e8177760778c44ed4357d40d0a6349833a93fb8e8
|
|
HEAD_REF master
|
|
PATCHES
|
|
0001-allow-shared-lib.patch
|
|
0002-disable-git-config.patch
|
|
)
|
|
|
|
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
|
FEATURES
|
|
networking LIBCORO_FEATURE_NETWORKING
|
|
ssl LIBCORO_FEATURE_SSL
|
|
threading LIBCORO_FEATURE_THREADING
|
|
)
|
|
|
|
vcpkg_cmake_configure(
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
OPTIONS
|
|
${FEATURE_OPTIONS}
|
|
-DLIBCORO_EXTERNAL_DEPENDENCIES=ON
|
|
-DLIBCORO_BUILD_TESTS=OFF
|
|
-DLIBCORO_BUILD_EXAMPLES=OFF
|
|
)
|
|
|
|
vcpkg_cmake_install()
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|
|
|
|
vcpkg_fixup_pkgconfig()
|