devilutionx, smpq, stormlib: add cmake fix

This commit is contained in:
Aaron Andersen
2025-11-07 20:47:07 -05:00
parent c83e7752dd
commit 296e29eb9f
3 changed files with 6 additions and 0 deletions

View File

@@ -76,6 +76,10 @@ stdenv.mkDerivation (finalAttrs: {
--replace-fail "@assets@" "$out/share/diasurgical/devilutionx/"
'';
cmakeFlags = [
"-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
];
nativeBuildInputs = [
cmake
pkg-config

View File

@@ -17,6 +17,7 @@ stdenv.mkDerivation (finalAttrs: {
cmakeFlags = [
(lib.cmakeBool "WITH_KDE" false)
"-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
];
nativeBuildInputs = [ cmake ];

View File

@@ -34,6 +34,7 @@ stdenv.mkDerivation (finalAttrs: {
cmakeFlags = [
(lib.cmakeBool "BUILD_SHARED_LIBS" (!stdenv.hostPlatform.isStatic))
(lib.cmakeBool "WITH_LIBTOMCRYPT" true)
"-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
];
strictDeps = true;