opengothic: fix build with cmake4
This commit is contained in:
@@ -54,6 +54,10 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
--replace-fail "-Werror" ""
|
||||
'';
|
||||
|
||||
cmakeFlags = [
|
||||
(lib.cmakeFeature "CMAKE_POLICY_VERSION_MINIMUM" "3.10")
|
||||
];
|
||||
|
||||
postFixup = ''
|
||||
wrapProgram $out/bin/Gothic2Notr \
|
||||
--set LD_PRELOAD "${lib.getLib alsa-lib}/lib/libasound.so.2"
|
||||
|
||||
Reference in New Issue
Block a user