diff options
author | Madoura <madouura@gmail.com> | 2022-07-14 02:34:26 -0500 |
---|---|---|
committer | Madoura <madouura@gmail.com> | 2022-11-25 10:40:27 -0600 |
commit | 182c974f574f82115304ff61023493af208ed720 (patch) | |
tree | df85e30a2007d88428639369184cc4467eafa85e /pkgs/development/libraries/nlohmann_json | |
parent | 843684e44e50a0ff2f8988c9f5ff9f58dcea4919 (diff) |
nlohmann_json: Enable JSON_FastTests, use JSON_BuildTests instead of BuildTests
Diffstat (limited to 'pkgs/development/libraries/nlohmann_json')
-rw-r--r-- | pkgs/development/libraries/nlohmann_json/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/libraries/nlohmann_json/default.nix b/pkgs/development/libraries/nlohmann_json/default.nix index 70699db418ad1..3c8244c755320 100644 --- a/pkgs/development/libraries/nlohmann_json/default.nix +++ b/pkgs/development/libraries/nlohmann_json/default.nix @@ -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}"; |