aboutsummaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
authorJonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>2021-09-03 04:27:36 +0800
committerGitHub <noreply@github.com>2021-09-02 13:27:36 -0700
commit2d8e2a8a475895577517392d74f1b7b1ecfc832d (patch)
treee640244ec42b2de743ff443f6f199a1e159242f7 /ports
parent5a39e7f0c5018a6f865604485d137747c37a8490 (diff)
downloadvcpkg-2d8e2a8a475895577517392d74f1b7b1ecfc832d.tar.gz
vcpkg-2d8e2a8a475895577517392d74f1b7b1ecfc832d.zip
[asio] update to 1.19.2 (#19846)
* [asio] update to 1.19.2 * update version
Diffstat (limited to 'ports')
-rw-r--r--ports/asio/portfile.cmake23
-rw-r--r--ports/asio/vcpkg.json12
2 files changed, 22 insertions, 13 deletions
diff --git a/ports/asio/portfile.cmake b/ports/asio/portfile.cmake
index d5f65149a..c3c2a22e5 100644
--- a/ports/asio/portfile.cmake
+++ b/ports/asio/portfile.cmake
@@ -3,8 +3,8 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO chriskohlhoff/asio
- REF asio-1-18-2
- SHA512 5a2312f1a14106e3109a9f02e8ac65a1d639b411834f0aa301767a4dd30d8384f6f1a94034b6016ef989c7d7880fd4c8de11c7be0cb58b4dc64a49ec335a7113
+ REF asio-1-19-2
+ SHA512 a6d1c5534fef0fe5ac549e1bd20919d180fbfe4c146be40ec6ebfa862534b8551778b0e79a5ba822ed645535e010646909f02f9e1d1f385ed758f07f57351ea8
HEAD_REF master
)
@@ -12,19 +12,18 @@ vcpkg_from_github(
vcpkg_replace_string("${SOURCE_PATH}/asio/include/asio/detail/config.hpp" "defined(ASIO_STANDALONE)" "!defined(VCPKG_DISABLE_ASIO_STANDALONE)")
# CMake install
-file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH})
-vcpkg_configure_cmake(
- SOURCE_PATH ${SOURCE_PATH}
- PREFER_NINJA
+file(COPY "${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt" DESTINATION "${SOURCE_PATH}")
+vcpkg_cmake_configure(
+ SOURCE_PATH "${SOURCE_PATH}"
)
-vcpkg_install_cmake()
+vcpkg_cmake_install()
-vcpkg_fixup_cmake_targets(CONFIG_PATH "share/asio")
+vcpkg_cmake_config_fixup()
file(INSTALL
- ${CMAKE_CURRENT_LIST_DIR}/asio-config.cmake
- DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT}
+ "${CMAKE_CURRENT_LIST_DIR}/asio-config.cmake"
+ DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}"
)
-file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug)
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
# Handle copyright
-file(INSTALL ${SOURCE_PATH}/asio/LICENSE_1_0.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
+file(INSTALL "${SOURCE_PATH}/asio/LICENSE_1_0.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
diff --git a/ports/asio/vcpkg.json b/ports/asio/vcpkg.json
index 5f285c16f..380eaea25 100644
--- a/ports/asio/vcpkg.json
+++ b/ports/asio/vcpkg.json
@@ -1,9 +1,19 @@
{
"name": "asio",
- "version": "1.18.2",
+ "version": "1.19.2",
"description": "Asio is a cross-platform C++ library for network and low-level I/O programming that provides developers with a consistent asynchronous model using a modern C++ approach.",
"homepage": "https://github.com/chriskohlhoff/asio",
"documentation": "https://think-async.com/Asio/asio-1.18.0/doc/",
+ "dependencies": [
+ {
+ "name": "vcpkg-cmake",
+ "host": true
+ },
+ {
+ "name": "vcpkg-cmake-config",
+ "host": true
+ }
+ ],
"features": {
"coroutine": {
"description": "Boost.Coroutine (optional) if you use spawn() to launch coroutines",