Created
January 29, 2020 17:30
-
-
Save coreyoconnor/dc046b813930633702d9a37870ffa485 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/pkgs/development/libraries/opencv/4.x.nix b/pkgs/development/libraries/opencv/4.x.nix | |
index 9fffd3d9477..66dc997afc3 100644 | |
--- a/pkgs/development/libraries/opencv/4.x.nix | |
+++ b/pkgs/development/libraries/opencv/4.x.nix | |
@@ -249,6 +249,7 @@ stdenv.mkDerivation { | |
"-DCUDA_FAST_MATH=ON" | |
"-DCUDA_HOST_COMPILER=${cudatoolkit.cc}/bin/cc" | |
"-DCUDA_NVCC_FLAGS=--expt-relaxed-constexpr" | |
+ "-DBUILD_opencv_cudaoptflow=OFF" | |
] ++ lib.optionals stdenv.isDarwin [ | |
"-DWITH_OPENCL=OFF" | |
"-DWITH_LAPACK=OFF" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment