Commit 43e289fe authored by Fabian Affolter's avatar Fabian Affolter
Browse files

libosmium: add cmakeFlags for CMake >= 3.5

parent 59f9c672
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;