Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use get_target_property hack for root nlohmann_json #440

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

birarda
Copy link
Contributor

@birarda birarda commented Jan 23, 2025

Our CMake build of libdave can't find nlohmann_json due to this issue.

To avoid adding a find_package call for the private dependency, this updates the root lib CMakeLists.txt to leverage the same hack that lib/hpke was already using.

It looks like CMake versions >= 3.26.0 may now have BUILD_LOCAL_INTERFACE to support this in a slightly cleaner way - let me know if you'd prefer to use that alternative.

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.

1 participant