Skip to content

Commit

Permalink
update docu and example after review
Browse files Browse the repository at this point in the history
  • Loading branch information
Dargun committed Dec 12, 2022
1 parent f5a3e2d commit 455d6cd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion docs/packages/pkg/msgpack.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,10 @@ msgpack
- Added by `Antal Tátrai <https://github.com/tatraian>`__
(`pr-406 <https://github.com/ruslo/hunter/pull/406>`__)
- Available since |hunter|
- Target library name is now changed from "msgpack::msgpack" to "msgpackc-cxx"

.. code-block:: cmake
hunter_add_package(msgpack)
find_package(msgpack CONFIG REQUIRED)
target_link_libraries(... msgpackc-cxx)
target_link_libraries(... PRIVATE msgpackc-cxx)
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 msgpackc-cxx)
target_link_libraries(container PRIVATE msgpackc-cxx)

0 comments on commit 455d6cd

Please sign in to comment.