Skip to content

Conversation

@dmehala
Copy link
Collaborator

@dmehala dmehala commented Aug 15, 2025

Description

Add FIND_PACKAGE_ARGS will help FetchContent_* to satisfy the dependency with find_package(). If that dependency is not found, then it is built from source.

Supersede: #227
Close #227

Additional Notes

Bump version of nlohmann_json to 3.12.0.

Add `FIND_PACKAGE_ARGS` will help `FetchContent_*` to satisfy the
dependency with `find_package()`. If that dependency is not found,
then it is built from source.

Co-authored-by: Damien Mehala <damien.mehala@datadoghq.com>
@dmehala dmehala requested a review from a team as a code owner August 15, 2025 13:54
@dmehala dmehala requested review from dubloom and removed request for a team August 15, 2025 13:54
@dmehala dmehala changed the title deps(nlohmann-json): avoid FetchContent if found via find_package deps(nlohmann-json): FetchContent rely on find_package Aug 15, 2025
@dmehala dmehala merged commit 52597cf into main Aug 15, 2025
16 of 21 checks passed
@dmehala dmehala deleted the dmehala/do-not-fetch-content-nlohmann-json-if-present branch August 15, 2025 13:55
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.

3 participants