mirror of
https://github.com/microsoft/vcpkg.git
synced 2026-01-18 01:11:23 +01:00
[libcoro] update to 0.15.0 (#46020)
This commit is contained in:
16
ports/libcoro/add-experimental-library.patch
Normal file
16
ports/libcoro/add-experimental-library.patch
Normal file
@@ -0,0 +1,16 @@
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index a27a052..1a1e113 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -14,6 +14,11 @@ if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
||||
link_libraries(-lc++)
|
||||
endif()
|
||||
|
||||
+# for C++20 std library (ex. std::stop_token)
|
||||
+if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin" OR ${CMAKE_SYSTEM_NAME} MATCHES "Android")
|
||||
+ add_compile_options(-fexperimental-library)
|
||||
+endif()
|
||||
+
|
||||
if(UNIX AND NOT APPLE)
|
||||
set(LINUX TRUE)
|
||||
endif()
|
||||
@@ -2,8 +2,10 @@ vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO jbaldwin/libcoro
|
||||
REF "v${VERSION}"
|
||||
SHA512 ba64abd0d99d148971f6b24cdd9ed112b6091016f16263396f65c21f23233d43ce92708a48540c3ab9ef87f67defa681331b6b8af5d9ec58a61adc527a2ffb9b
|
||||
SHA512 a975c75b7896cefa8ca3e07a81045ddfb29f7ba9fd069d4e8d37430428fe5ce222940c9d58fd549e53be5f92d3d30c7d0c27de1564f49fbc6fb4b866712624ec
|
||||
HEAD_REF master
|
||||
PATCHES
|
||||
add-experimental-library.patch
|
||||
)
|
||||
|
||||
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "libcoro",
|
||||
"version": "0.14.1",
|
||||
"version": "0.15.0",
|
||||
"description": "C++20 coroutine library",
|
||||
"homepage": "https://github.com/jbaldwin/libcoro",
|
||||
"license": "Apache-2.0",
|
||||
|
||||
@@ -4537,7 +4537,7 @@
|
||||
"port-version": 0
|
||||
},
|
||||
"libcoro": {
|
||||
"baseline": "0.14.1",
|
||||
"baseline": "0.15.0",
|
||||
"port-version": 0
|
||||
},
|
||||
"libcorrect": {
|
||||
|
||||
@@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "5d081d31f827f310e804d1f511e28ad73effe102",
|
||||
"version": "0.15.0",
|
||||
"port-version": 0
|
||||
},
|
||||
{
|
||||
"git-tree": "114e39ef20e4bb604e7dd49d4a630828fd1003f2",
|
||||
"version": "0.14.1",
|
||||
|
||||
Reference in New Issue
Block a user