spdlog: build shared library

This commit is contained in:
Drew Risinger 2020-10-14 15:32:17 -04:00
parent d7de691b1b
commit c19f3623a2

View File

@ -16,6 +16,7 @@ let
nativeBuildInputs = [ cmake ];
cmakeFlags = [
"-DSPDLOG_BUILD_SHARED=ON"
"-DSPDLOG_BUILD_EXAMPLE=OFF"
"-DSPDLOG_BUILD_BENCH=OFF"
"-DSPDLOG_BUILD_TESTS=ON"
@ -29,6 +30,7 @@ let
'';
doCheck = true;
preCheck = "export LD_LIBRARY_PATH=$(pwd):$LD_LIBRARY_PATH";
meta = with stdenv.lib; {
description = "Very fast, header only, C++ logging library";