Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update msgpack to v4.1.3 #644

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cmake/configs/default.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ hunter_default_version(mng VERSION 2.0.3-p2)
hunter_default_version(mojoshader VERSION 0.0.1)
hunter_default_version(mongoose VERSION 6.10)
hunter_default_version(mpark_variant VERSION 1.0.0)
hunter_default_version(msgpack VERSION 1.4.1-p2)
hunter_default_version(msgpack VERSION 4.1.3)
hunter_default_version(mshadow VERSION 1.1-1d79ecf-p0)
hunter_default_version(mtplz VERSION 0.1-p3)
hunter_default_version(mxnet VERSION 1.5.0.rc1-b64e00a-p0)
Expand Down
18 changes: 18 additions & 0 deletions cmake/projects/msgpack/hunter.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

include(hunter_add_version)
include(hunter_cacheable)
include(hunter_cmake_args)
include(hunter_download)
include(hunter_pick_scheme)

Expand All @@ -27,6 +28,23 @@ hunter_add_version(
eafdcb4c0a29d7416248740bd8132316a4b03910
)

hunter_add_version(
PACKAGE_NAME
msgpack
VERSION
"4.1.3"
URL
"https://github.com/msgpack/msgpack-c/archive/refs/tags/cpp-4.1.3.tar.gz"
SHA1
e53ea01821cdf8e7d0d9d56d9c2496bda59636e1
)


hunter_pick_scheme(DEFAULT url_sha1_cmake)

hunter_cmake_args(msgpack CMAKE_ARGS
MSGPACK_USE_BOOST=OFF
MSGPACK_BUILD_DOCS=OFF)

hunter_cacheable(msgpack)
hunter_download(PACKAGE_NAME msgpack)
4 changes: 2 additions & 2 deletions docs/packages/pkg/msgpack.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
msgpack

.. index:: unsorted ; msgpack


.. _pkg.msgpack:

Expand All @@ -13,7 +14,6 @@ msgpack
:target: https://github.com/cpp-pm/hunter/releases/tag/v0.14.19
:alt: Hunter v0.14.19

- `Hunterized <https://github.com/msgpack/msgpack-c>`__
- `Example <https://github.com/cpp-pm/hunter/blob/master/examples/msgpack/CMakeLists.txt>`__
- Added by `Antal Tátrai <https://github.com/tatraian>`__
(`pr-406 <https://github.com/ruslo/hunter/pull/406>`__)
Expand All @@ -23,4 +23,4 @@ msgpack

hunter_add_package(msgpack)
find_package(msgpack CONFIG REQUIRED)
target_link_libraries(... msgpack::msgpack)
target_link_libraries(... msgpackc-cxx)
NeroBurner marked this conversation as resolved.
Show resolved Hide resolved
2 changes: 1 addition & 1 deletion examples/msgpack/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ set (CMAKE_CXX_STANDARD 11)
find_package(msgpack CONFIG REQUIRED)

add_executable(container container.cpp)
target_link_libraries(container msgpack::msgpack)
target_link_libraries(container msgpackc-cxx)
NeroBurner marked this conversation as resolved.
Show resolved Hide resolved