3
0
Fork 0
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:
Daiderd Jordan 2016-11-23 19:35:41 +01:00 committed by GitHub
commit 56dc7dee02

View file

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