mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-17 10:24:07 +00:00
Merge pull request #255212 from lopsided98/spdlog-cross
spdlog: fix cross-compilation
This commit is contained in:
commit
df75f8b624
@ -31,8 +31,9 @@ stdenv.mkDerivation rec {
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
# Required to build tests, even if they aren't executed
|
||||
buildInputs = [ catch2_3 ];
|
||||
propagatedBuildInputs = [ fmt ];
|
||||
checkInputs = [ catch2_3 ];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DSPDLOG_BUILD_SHARED=${if staticBuild then "OFF" else "ON"}"
|
||||
|
Loading…
Reference in New Issue
Block a user