Commit 378b5cf
Fix nlohmann_json linkage from PRIVATE to PUBLIC
Change target_link_libraries for nlohmann_json from PRIVATE to PUBLIC
since nlohmann::json types are exposed in public headers (casbin_types.h,
evaluator.h, and data_types.h). This ensures proper propagation of the
dependency to downstream consumers and prevents ABI mismatches when
multiple versions of nlohmann_json are present.
Co-authored-by: hsluoyz <3787410+hsluoyz@users.noreply.github.com>1 parent 15307c7 commit 378b5cf
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
| 80 | + | |
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| |||
0 commit comments