Unverified Commit 182c974f authored by Madoura's avatar Madoura
Browse files

nlohmann_json: Enable JSON_FastTests, use JSON_BuildTests instead of BuildTests

parent 843684e4
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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}";