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

libosmium: add cmakeFlags for CMake >= 3.5 (#450027)

parents f02eff4e 43e289fe
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -33,7 +33,11 @@ stdenv.mkDerivation (finalAttrs: {
    lz4
  ];

  cmakeFlags = [ (lib.cmakeBool "INSTALL_GDALCPP" true) ];
  cmakeFlags = [
    # Fix the build with CMake 4.
    "-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
    (lib.cmakeBool "INSTALL_GDALCPP" true)
  ];

  doCheck = true;