From 0ec4bfdcc1f08b9307d9d26dd0917ac5e359759a Mon Sep 17 00:00:00 2001 From: xbreak Date: Wed, 21 Aug 2019 10:57:48 +0000 Subject: [PATCH] libyamlcpp: Disable build & install of Google Test The source repo includes a copy of Google Test, which is build and installed by default, which may lead to the wrong Google Test being used by packages using yaml-cpp. --- pkgs/development/libraries/libyaml-cpp/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/libraries/libyaml-cpp/default.nix b/pkgs/development/libraries/libyaml-cpp/default.nix index af665c6d9a4a..cda6c0f642af 100644 --- a/pkgs/development/libraries/libyaml-cpp/default.nix +++ b/pkgs/development/libraries/libyaml-cpp/default.nix @@ -15,7 +15,7 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ cmake ]; - cmakeFlags = "-DBUILD_SHARED_LIBS=ON"; + cmakeFlags = "-DBUILD_SHARED_LIBS=ON -DYAML_CPP_BUILD_TESTS=OFF"; meta = with stdenv.lib; { inherit (src.meta) homepage;