Files
nixpkgs/pkgs/by-name/tr/tracy/cmake/Findjson.cmake
David Kern add0b2ae14 tracy: 0.11.1 -> {0.11.1, 0.12.2, 0.13.1}
Resolves #417177
Supersedes #428369

This splits the tracy package into three packages
(tracy_0_11, tracy_0_12, tracy_0_13) which track
the most recent upstream point releases of each.
tracy is an alias to the most recent package,
tracy_0_13 (0.13.1).

This builds off of work by @MonaMayrhofer in
https://github.com/NixOS/nixpkgs/pull/428369
2026-03-07 11:04:58 -08:00

6 lines
171 B
CMake

# tracy CPM uses NAME `json` but nixpkgs provides `nlohmann_json`.
find_package(nlohmann_json REQUIRED)
set(json_FOUND TRUE)
set(json_VERSION "${nlohmann_json_VERSION}")