opencv2: add Accelerate framework on darwin
Same as commit e4d2b6fced3; I didn't notice this version suffered from it as well. It's probably random/impurity anyway. https://hydra.nixos.org/build/214981496
This commit is contained in:
parent
39f71c03bf
commit
c6b639ec35
|
@ -9,7 +9,7 @@
|
|||
, enableGStreamer ? false, gst_all_1
|
||||
, enableEigen ? true, eigen
|
||||
, enableUnfree ? false
|
||||
, AVFoundation, Cocoa, QTKit
|
||||
, AVFoundation, Cocoa, QTKit, Accelerate
|
||||
}:
|
||||
|
||||
let
|
||||
|
@ -51,7 +51,7 @@ stdenv.mkDerivation rec {
|
|||
++ lib.optional enableFfmpeg ffmpeg
|
||||
++ lib.optionals enableGStreamer (with gst_all_1; [ gstreamer gst-plugins-base ])
|
||||
++ lib.optional enableEigen eigen
|
||||
++ lib.optionals stdenv.isDarwin [ AVFoundation Cocoa QTKit ]
|
||||
++ lib.optionals stdenv.isDarwin [ AVFoundation Cocoa QTKit Accelerate ]
|
||||
;
|
||||
|
||||
nativeBuildInputs = [ cmake pkg-config unzip ];
|
||||
|
|
|
@ -22871,7 +22871,7 @@ with pkgs;
|
|||
openct = callPackage ../development/libraries/openct { };
|
||||
|
||||
opencv2 = callPackage ../development/libraries/opencv {
|
||||
inherit (darwin.apple_sdk.frameworks) AVFoundation Cocoa QTKit;
|
||||
inherit (darwin.apple_sdk.frameworks) AVFoundation Cocoa QTKit Accelerate;
|
||||
ffmpeg = ffmpeg_4;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue