Unverified Commit 0d78bd07 authored by Michi's avatar Michi Committed by GitHub
Browse files

libtins: fix build against CMake >= 3.5

parent 04bd2c1d
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -44,6 +44,11 @@ stdenv.mkDerivation rec {
    boost
  ];

  cmakeFlags = [
    # See https://github.com/NixOS/nixpkgs/issues/445447
    "-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
  ];

  configureFlags = [
    "--with-boost-libdir=${boost.out}/lib"
    "--with-boost=${boost.dev}"