Merge pull request #97470 from drewrisinger/dr-pr-spdlog-1_8

This commit is contained in:
Jörg Thalheim 2020-12-01 17:14:19 +00:00 committed by GitHub
commit 29528a11da
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,7 +15,12 @@ let
nativeBuildInputs = [ cmake ];
cmakeFlags = [ "-DSPDLOG_BUILD_EXAMPLE=OFF" "-DSPDLOG_BUILD_BENCH=OFF" ];
cmakeFlags = [
"-DSPDLOG_BUILD_SHARED=ON"
"-DSPDLOG_BUILD_EXAMPLE=OFF"
"-DSPDLOG_BUILD_BENCH=OFF"
"-DSPDLOG_BUILD_TESTS=ON"
];
outputs = [ "out" "doc" ];
@ -24,6 +29,9 @@ let
cp -rv ../example $out/share/doc/spdlog
'';
doCheck = true;
preCheck = "export LD_LIBRARY_PATH=$(pwd):$LD_LIBRARY_PATH";
meta = with stdenv.lib; {
description = "Very fast, header only, C++ logging library";
homepage = "https://github.com/gabime/spdlog";