mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-23 13:48:21 +03:00
nlohmann_json: Enable JSON_FastTests, use JSON_BuildTests instead of BuildTests
This commit is contained in:
parent
843684e44e
commit
182c974f57
@ -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}";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user