waifu2x-converter-cpp: opencv3 -> opencv4
This commit is contained in:
parent
2fbd1b97f1
commit
381e03e03a
@ -1,4 +1,4 @@
|
||||
{ cmake, fetchFromGitHub, makeWrapper, opencv3, lib, stdenv, ocl-icd, opencl-headers, OpenCL
|
||||
{ cmake, fetchFromGitHub, makeWrapper, opencv4, lib, stdenv, ocl-icd, opencl-headers, OpenCL
|
||||
, config
|
||||
, cudaSupport ? config.cudaSupport, cudatoolkit ? null
|
||||
}:
|
||||
@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
opencv3
|
||||
opencv4
|
||||
] ++ lib.optional cudaSupport cudatoolkit
|
||||
++ lib.optional stdenv.isDarwin OpenCL
|
||||
++ lib.optionals stdenv.isLinux [ ocl-icd opencl-headers ];
|
||||
|
Loading…
Reference in New Issue
Block a user