Merge pull request #280135 from OPNA2608/fix/rlottie-cmake

rlottie: Switch to CMake
This commit is contained in:
Pol Dellaiera 2024-01-30 09:13:40 +01:00 committed by GitHub
commit 335ba078b3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2,7 +2,7 @@
, stdenv
, fetchFromGitHub
, fetchpatch
, meson
, cmake
, ninja
, pkg-config
}:
@ -26,7 +26,11 @@ stdenv.mkDerivation rec {
})
];
nativeBuildInputs = [ meson ninja pkg-config ];
nativeBuildInputs = [ cmake ninja pkg-config ];
cmakeFlags = [
(lib.cmakeFeature "LIB_INSTALL_DIR" "${placeholder "out"}/lib")
];
env.NIX_CFLAGS_COMPILE = lib.optionalString (stdenv.isDarwin && stdenv.isAarch64) "-U__ARM_NEON__";