Unverified Commit 442d27a8 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

gammu: add cmakeFlags for CMake >= 3.5 (#449950)

parents 838a36bc 6e1508df
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -45,6 +45,7 @@ stdenv.mkDerivation rec {
  ];

  cmakeFlags = [
    "-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
    # Fix build with CMake 4
    (lib.cmakeFeature "CMAKE_POLICY_VERSION_MINIMUM" "3.10")
  ];
@@ -69,7 +70,7 @@ stdenv.mkDerivation rec {
  meta = with lib; {
    homepage = "https://wammu.eu/gammu/";
    description = "Command line utility and library to control mobile phones";
    license = licenses.gpl2;
    license = licenses.gpl2Only;
    platforms = platforms.linux;
    maintainers = [ maintainers.coroa ];
  };