-
-
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.
fix reflect-cpp compilation when msgpack is enabled (#6205)
* fix reflect-cpp compilation when msgpack is enabled * add test when msgpack is enabled --------- Co-authored-by: mirage-alchemy <dev@archlinux.com>
- Loading branch information
1 parent
c621eda
commit fc3bc1f
Showing
2 changed files
with
32 additions
and
0 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,13 @@ | ||
diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
index 2e16468..38d289f 100644 | ||
--- a/CMakeLists.txt | ||
+++ b/CMakeLists.txt | ||
@@ -138,7 +138,7 @@ if (REFLECTCPP_MSGPACK) | ||
if(REFLECTCPP_USE_VCPKG) | ||
find_package(msgpack-c CONFIG REQUIRED) | ||
else() | ||
- find_package(msgpack CONFIG REQUIRED) | ||
+ find_package(msgpack-c CONFIG REQUIRED) | ||
endif() | ||
target_link_libraries(reflectcpp PUBLIC msgpack-c) | ||
endif () |
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