imhex: fix build with cmake 4 (#449412)
This commit is contained in:
@@ -98,8 +98,11 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
(lib.cmakeBool "USE_SYSTEM_LLVM" true)
|
||||
(lib.cmakeBool "USE_SYSTEM_NLOHMANN_JSON" true)
|
||||
(lib.cmakeBool "USE_SYSTEM_YARA" true)
|
||||
(lib.cmakeFeature "CMAKE_POLICY_VERSION_MINIMUM" "3.5")
|
||||
];
|
||||
|
||||
env.NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-declarations";
|
||||
|
||||
# Comment out fixup_bundle in PostprocessBundle.cmake as we are not building a standalone application
|
||||
postPatch = lib.optionalString stdenv.hostPlatform.isDarwin ''
|
||||
substituteInPlace cmake/modules/PostprocessBundle.cmake \
|
||||
@@ -139,6 +142,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
kashw2
|
||||
cafkafk
|
||||
govanify
|
||||
ryand56
|
||||
];
|
||||
platforms = with lib.platforms; linux ++ darwin;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user