aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonid Pospelov <pospelovlm@yandex.ru>2020-07-31 07:34:36 +0200
committerGitHub <noreply@github.com>2020-07-30 22:34:36 -0700
commitf492b7efb19eaceab75f6bc3a9567dfcd3fc9d1d (patch)
treef95794fe80099daea238ea4fa9e424cc8c47532c
parent8cfa3e8e31393c3c0de2c63f6e212b27f2d809fe (diff)
downloadvcpkg-f492b7efb19eaceab75f6bc3a9567dfcd3fc9d1d.tar.gz
vcpkg-f492b7efb19eaceab75f6bc3a9567dfcd3fc9d1d.zip
[outcome] Update library and fix portfile (#12078)
-rw-r--r--ports/outcome/CONTROL4
-rw-r--r--ports/outcome/portfile.cmake13
2 files changed, 7 insertions, 10 deletions
diff --git a/ports/outcome/CONTROL b/ports/outcome/CONTROL
index a90346b67..449485ed9 100644
--- a/ports/outcome/CONTROL
+++ b/ports/outcome/CONTROL
@@ -1,4 +1,4 @@
Source: outcome
-Version: 2.1
+Version: 2.1.3
Homepage: https://github.com/ned14/outcome
-Description: Provides very lightweight outcome<T> and result<T> (non-Boost edition) \ No newline at end of file
+Description: Provides very lightweight outcome<T> and result<T> (non-Boost edition)
diff --git a/ports/outcome/portfile.cmake b/ports/outcome/portfile.cmake
index a9686b31c..0d1223fc7 100644
--- a/ports/outcome/portfile.cmake
+++ b/ports/outcome/portfile.cmake
@@ -1,16 +1,13 @@
-# single header file
-
-include(vcpkg_common_functions)
-
+# header-only library
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO ned14/outcome
- REF 525478ed519d7c3400d60110649c315d705a07ad #v2.1
- SHA512 cf05f7c09ced02fa5fe3d9ad6533358a2fb63e31b5d5be81c16c285250cd275467217b8f9364b4ff1947d8c4aa6a86e10cef310d8475dcd9f7a0a713f1a01c8e
+ REF 34f3bd55e2bcaf246cb79efe64a5600e89b91b66 #v2.1.3
+ SHA512 83eba50e2095e7c768dacb3af5f82db117c3451f1d5bc2f73d716608d56f7b73006ec33d0f3842fdefd076f0e82b72ece5777868712f75e83eac93aa8adf351c
HEAD_REF develop
)
file(GLOB_RECURSE OUTCOME_HEADERS "${SOURCE_PATH}/single-header/*.hpp")
-file(INSTALL ${OUTCOME_HEADERS} DESTINATION ${CURRENT_PACKAGES_DIR}/include)
+file(INSTALL ${OUTCOME_HEADERS} DESTINATION ${CURRENT_PACKAGES_DIR}/include)
-file(INSTALL ${SOURCE_PATH}/Licence.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright) \ No newline at end of file
+file(INSTALL ${SOURCE_PATH}/Licence.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)