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

This commit is contained in:
Fabian Affolter
2025-10-08 19:10:57 +00:00
committed by GitHub
+2 -1
View File
@@ -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 ];
};