libtins: fix build against CMake >= 3.5

This commit is contained in:
Michi
2025-10-08 00:56:01 +02:00
committed by GitHub
parent 04bd2c1dba
commit 0d78bd0706
+5
View File
@@ -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}"