nixpkgs/pkgs/development/libraries/spdlog
Ben Wolsieffer b6c05bc367 spdlog: fix cross-compilation
Currently, catch2 is listed in checkInputs, which means it is not available
when cross-compiling. On the other hand, -DSPDLOG_BUILD_TESTS=ON is passed
unconditionally, causing the build to fail when cross-compiling. This can be
fixed either by moving catch2 to buildInputs or by only building the tests
when doCheck is true. This patch implements the former solution, so the tests
are always built even if they cannot be run.
2023-09-15 19:53:37 -04:00
..
default.nix spdlog: fix cross-compilation 2023-09-15 19:53:37 -04:00