libtins: fix cmake 4 compatibility (#449694)

This commit is contained in:
Fernando Rodrigues
2025-10-08 12:43:52 +00:00
committed by GitHub
+6
View File
@@ -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}"