Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Feb 8, 2026

fix: #269

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@hsluoyz hsluoyz marked this pull request as ready for review February 8, 2026 01:55
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>
Copilot AI changed the title [WIP] Fix nlohmann_json linking for public headers Fix nlohmann_json linkage from PRIVATE to PUBLIC Feb 8, 2026
Copilot AI requested a review from hsluoyz February 8, 2026 01:57
@hsluoyz hsluoyz changed the title Fix nlohmann_json linkage from PRIVATE to PUBLIC feat: fix nlohmann_json linkage from PRIVATE to PUBLIC Feb 8, 2026
@hsluoyz hsluoyz merged commit fef5538 into master Feb 8, 2026
8 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

nlohmann_json linked as PRIVATE despite being used in public headers

3 participants