mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 23:36:17 +01:00
opencv4: disable hdf5 for cross-compilation
This gets us as far as building opencv, but it doesn't completely build yet
This commit is contained in:
parent
de7510053c
commit
aa9f72b92b
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