mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 15:22:59 +01:00
Merge pull request #175987 from Mindavi/opencv/cross-improvement
opencv4: disable hdf5 for cross-compilation
This commit is contained in:
commit
59bb77f933
1 changed files with 2 additions and 2 deletions
|
@ -244,9 +244,9 @@ stdenv.mkDerivation {
|
|||
echo '"(build info elided)"' > modules/core/version_string.inc
|
||||
'';
|
||||
|
||||
buildInputs =
|
||||
[ zlib pcre hdf5 boost gflags protobuf ]
|
||||
buildInputs = [ zlib pcre boost gflags protobuf ]
|
||||
++ lib.optional enablePython pythonPackages.python
|
||||
++ lib.optional (stdenv.buildPlatform == stdenv.hostPlatform) hdf5
|
||||
++ lib.optional enableGtk2 gtk2
|
||||
++ lib.optional enableGtk3 gtk3
|
||||
++ lib.optional enableVtk vtk
|
||||
|
|
Loading…
Reference in a new issue