mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-06-25 06:01:31 +02:00
Merge pull request #1142 from uyha/cpp_master
Fixed `find_package` command in README
This commit is contained in:
commit
766c8127df
@ -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)
|
||||||
# ...
|
# ...
|
||||||
|
Loading…
x
Reference in New Issue
Block a user