Merge pull request #1142 from uyha/cpp_master

Fixed `find_package` command in README
This commit is contained in:
Takatoshi Kondo 2025-02-21 17:04:36 +09:00 committed by GitHub
commit 766c8127df
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -87,7 +87,6 @@ For C++ compiler
clang++ -DMSGPACK_NO_BOOST your_code.cpp clang++ -DMSGPACK_NO_BOOST your_code.cpp
``` ```
Usage Usage
----- -----
@ -96,7 +95,7 @@ Usage
```cmake ```cmake
# ... # ...
find_package(msgpack REQUIRED) find_package(msgpack-cxx REQUIRED)
# ... # ...
target_link_libraries(your_target_name <PRIVATE/PUBLIC/INTERFACE> msgpack-cxx) target_link_libraries(your_target_name <PRIVATE/PUBLIC/INTERFACE> msgpack-cxx)
# ... # ...