spdlog_1: add support for pkgsStatic
This commit is contained in:
parent
27a42b9ef8
commit
67c0d5b95c
1 changed files with 2 additions and 1 deletions
|
@ -17,7 +17,8 @@ let
|
|||
buildInputs = [ fmt ];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DSPDLOG_BUILD_SHARED=ON"
|
||||
"-DSPDLOG_BUILD_SHARED=${if stdenv.hostPlatform.isStatic then "OFF" else "ON"}"
|
||||
"-DSPDLOG_BUILD_STATIC=${if stdenv.hostPlatform.isStatic then "ON" else "OFF"}"
|
||||
"-DSPDLOG_BUILD_EXAMPLE=OFF"
|
||||
"-DSPDLOG_BUILD_BENCH=OFF"
|
||||
"-DSPDLOG_BUILD_TESTS=ON"
|
||||
|
|
Loading…
Reference in a new issue