Merge pull request #153029 from NickCao/jsoncpp

jsoncpp: disable tests when cross compiling
This commit is contained in:
Jörg Thalheim
2022-01-01 07:38:54 +00:00
committed by GitHub
@@ -45,7 +45,7 @@ stdenv.mkDerivation rec {
"-DBUILD_STATIC_LIBS=OFF"
"-DBUILD_OBJECT_LIBS=OFF"
"-DJSONCPP_WITH_CMAKE_PACKAGE=ON"
];
] ++ lib.optional (stdenv.buildPlatform != stdenv.hostPlatform) "-DJSONCPP_WITH_TESTS=OFF";
meta = with lib; {
homepage = "https://github.com/open-source-parsers/jsoncpp";