libtins: fix cmake 4 compatibility (#449694)
This commit is contained in:
@@ -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}"
|
||||
|
||||
Reference in New Issue
Block a user