Merge pull request #255212 from lopsided98/spdlog-cross

spdlog: fix cross-compilation
This commit is contained in:
Artturi 2023-09-16 06:34:12 +03:00 committed by GitHub
commit df75f8b624
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"}"