Merge pull request #97470 from drewrisinger/dr-pr-spdlog-1_8
This commit is contained in:
commit
29528a11da
1 changed files with 9 additions and 1 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue