mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-17 12:50:04 +00:00
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
8 lines
290 B
CMake
8 lines
290 B
CMake
# nixpkgs `zstd` provides `zstd::libzstd` but tracy links against `libzstd`.
|
|
#
|
|
# Using CONFIG mode bypasses FindPackage modules, so this won't recurse.
|
|
find_package(zstd CONFIG REQUIRED)
|
|
|
|
add_library(libzstd INTERFACE IMPORTED GLOBAL)
|
|
target_link_libraries(libzstd INTERFACE zstd::libzstd)
|