Skip to content

Commit

Permalink
nlohmann_json: Enable JSON_FastTests, use JSON_BuildTests instead of …
Browse files Browse the repository at this point in the history
…BuildTests
  • Loading branch information
Madouura committed Nov 25, 2022
1 parent 843684e commit 182c974
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkgs/development/libraries/nlohmann_json/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ in stdenv.mkDerivation (finalAttrs: {
nativeBuildInputs = [ cmake ];

cmakeFlags = [
"-DBuildTests=${if finalAttrs.doCheck then "ON" else "OFF"}"
"-DJSON_BuildTests=${if finalAttrs.doCheck then "ON" else "OFF"}"
"-DJSON_FastTests=ON"
"-DJSON_MultipleHeaders=ON"
] ++ lib.optional finalAttrs.doCheck "-DJSON_TestDataDirectory=${testData}";

Expand Down

0 comments on commit 182c974

Please sign in to comment.