-
-
Notifications
You must be signed in to change notification settings - Fork 421
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add capnproto support and fix msgpack compilation for reflect-cpp v0.…
…17.0 (#6294) * added capnproto test * add new line after patch --------- Co-authored-by: mirage-alchemy <[email protected]>
- Loading branch information
1 parent
ae51a60
commit 354387f
Showing
2 changed files
with
51 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
index 4d0904f..751e762 100644 | ||
--- a/CMakeLists.txt | ||
+++ b/CMakeLists.txt | ||
@@ -172,8 +172,8 @@ if (REFLECTCPP_MSGPACK) | ||
find_package(msgpack-c CONFIG REQUIRED) | ||
endif() | ||
else() | ||
- if (NOT TARGET msgpack) | ||
- find_package(msgpack CONFIG REQUIRED) | ||
+ if (NOT TARGET msgpack-c) | ||
+ find_package(msgpack-c CONFIG REQUIRED) | ||
endif() | ||
endif() | ||
target_link_libraries(reflectcpp PUBLIC msgpack-c) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters