mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-18 12:47:59 +08:00
1550b9e71b
* [many ports] Upgrades 2019.07.11 * Re-generate patches and fix build errors. * [manyport]Fix build errors. * Fix avro-c and console-bridge failures, revert curl and tesseract * fix botan failure * Fix build errors and undo some ports upgrades. * [aws-c-common,chipmunk,cxxopts,grpc]Fix build errors * Fix build errors. * [angle]Undo upgrade changes. * [directxtk]Fix UWP build error (#7233) * Revert leptonica since it cause tesseract failed * Revert jsonnet * [google-cloud-cpp] Disable parallel configure due to source directory writes * [many ports] Undo undesired changes * [bitsery] Fix indentation * [avro-c][aws-c-common][graphite2] Convert line endings to minimize PR diff * fix console-bridge and remove usockets unused patch * update ogre patch * [many ports] Revert unneeded changes w.r.t. master. Add missing write to console-bridge. * [console-bridge] Fix export macro * [avro-c] Revert upgrade; split to #7875 * [avro-c] Complete previous revert
40 lines
1.2 KiB
CMake
40 lines
1.2 KiB
CMake
include(vcpkg_common_functions)
|
|
|
|
if(${VCPKG_TARGET_ARCHITECTURE} MATCHES x86)
|
|
message(FATAL_ERROR "This library doesn't support x86 arch. Please use x64 instead. If it is critical, create an issue at the repo: github.com/luncliff/coroutine")
|
|
endif()
|
|
|
|
# changed to 1.4.2
|
|
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO luncliff/coroutine
|
|
REF 74467cb470a6bf8b9559a56ebdcb68ff915d871e
|
|
SHA512 5d61a23c5fe33c544943659dedecff487bb20f288f9c99f137f37bb777317672f299599b740e53cae42c355595fdfdffe183ade39e828b1f3b4aa821a47cb50e
|
|
HEAD_REF master
|
|
)
|
|
|
|
# package: 'ms-gsl'
|
|
set(GSL_INCLUDE_DIR ${CURRENT_INSTALLED_DIR}/include
|
|
CACHE PATH "path to include C++ core guideline support library" FORCE)
|
|
message(STATUS "Using ms-gsl at ${GSL_INCLUDE_DIR}")
|
|
|
|
vcpkg_configure_cmake(
|
|
SOURCE_PATH ${SOURCE_PATH}
|
|
PREFER_NINJA
|
|
OPTIONS
|
|
-DGSL_INCLUDE_DIR=${GSL_INCLUDE_DIR}
|
|
-DTEST_DISABLED=True
|
|
)
|
|
|
|
vcpkg_install_cmake()
|
|
|
|
file(
|
|
INSTALL ${SOURCE_PATH}/LICENSE
|
|
DESTINATION ${CURRENT_PACKAGES_DIR}/share/coroutine
|
|
RENAME copyright
|
|
)
|
|
|
|
# removed duplicates in debug
|
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
|