gtest: remove the "static" option

pkgsStatic.gtest already has CMAKE_BUILD_SHARED set to OFF.
This commit is contained in:
Dmitry Kalinkin
2020-01-01 16:56:55 -05:00
parent 7e5b495851
commit 7e2c821e58
3 changed files with 3 additions and 7 deletions

View File

@@ -1,5 +1,4 @@
{ stdenv, cmake, ninja, fetchFromGitHub
, static ? false }:
{ stdenv, cmake, ninja, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "gtest";
@@ -20,7 +19,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake ninja ];
cmakeFlags = stdenv.lib.optional (!static) "-DBUILD_SHARED_LIBS=ON";
cmakeFlags = [ "-DBUILD_SHARED_LIBS=ON" ];
meta = with stdenv.lib; {
description = "Google's framework for writing C++ tests";