forked from mirrors/nixpkgs
Merge pull request #20629 from mdaiter/opencv_tab
opencv3: added tab to make CMake flags aligned
This commit is contained in:
commit
56dc7dee02
|
@ -95,7 +95,7 @@ stdenv.mkDerivation rec {
|
||||||
(opencvFlag "CUDA" enableCuda)
|
(opencvFlag "CUDA" enableCuda)
|
||||||
(opencvFlag "CUBLAS" enableCuda)
|
(opencvFlag "CUBLAS" enableCuda)
|
||||||
] ++ lib.optionals enableContrib [ "-DOPENCV_EXTRA_MODULES_PATH=${contribSrc}/modules" ]
|
] ++ lib.optionals enableContrib [ "-DOPENCV_EXTRA_MODULES_PATH=${contribSrc}/modules" ]
|
||||||
++ lib.optionals enableCuda [ "-DCUDA_FAST_MATH=ON" ];
|
++ lib.optionals enableCuda [ "-DCUDA_FAST_MATH=ON" ];
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue