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
|
@ -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