h3, h3_3: fix build with cmake4

This commit is contained in:
Rafael Ieda
2025-10-21 09:49:48 -03:00
parent 0720d4cf7a
commit 06c79febc4

View File

@@ -36,7 +36,8 @@ let
(lib.cmakeBool "ENABLE_FORMAT" false)
(lib.cmakeBool "ENABLE_LINTING" false)
(lib.cmakeBool "BUILD_FILTERS" withFilters)
];
]
++ (lib.optionals (lib.versionOlder version "4.0.0") [ "-DCMAKE_POLICY_VERSION_MINIMUM=3.5" ]);
meta = {
homepage = "https://h3geo.org/";