spdlog: build shared library
This commit is contained in:
parent
d7de691b1b
commit
c19f3623a2
1 changed files with 2 additions and 0 deletions
|
@ -16,6 +16,7 @@ let
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
|
"-DSPDLOG_BUILD_SHARED=ON"
|
||||||
"-DSPDLOG_BUILD_EXAMPLE=OFF"
|
"-DSPDLOG_BUILD_EXAMPLE=OFF"
|
||||||
"-DSPDLOG_BUILD_BENCH=OFF"
|
"-DSPDLOG_BUILD_BENCH=OFF"
|
||||||
"-DSPDLOG_BUILD_TESTS=ON"
|
"-DSPDLOG_BUILD_TESTS=ON"
|
||||||
|
@ -29,6 +30,7 @@ let
|
||||||
'';
|
'';
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
preCheck = "export LD_LIBRARY_PATH=$(pwd):$LD_LIBRARY_PATH";
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Very fast, header only, C++ logging library";
|
description = "Very fast, header only, C++ logging library";
|
||||||
|
|
Loading…
Reference in a new issue