Unverified Commit ef8cf06e authored by Fernando Rodrigues's avatar Fernando Rodrigues Committed by GitHub
Browse files

libtins: fix cmake 4 compatibility (#449694)

parents a5853e31 a5ca5632
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -44,6 +44,12 @@ stdenv.mkDerivation rec {
    boost
  ];

  cmakeFlags = [
    # CMake 4 dropped support of versions lower than 3.5,
    # versions lower than 3.10 are deprecated.
    (lib.cmakeFeature "CMAKE_POLICY_VERSION_MINIMUM" "3.10")
  ];

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