Commit eeb29665 authored by Rashad Kanavath's avatar Rashad Kanavath

SuperBuild: build only required opencv modules

parent c644fd6f
Pipeline #1702 canceled with stages
in 2 minutes and 20 seconds
......@@ -50,7 +50,7 @@ ExternalProject_Add(OPENCV
-DWITH_FFMPEG:BOOL=OFF
-DWITH_VFW:BOOL=OFF
-DBUILD_OPENEXR:BOOL=OFF
-DBUILD_PACKAGE:BOOL=ON
-DBUILD_PACKAGE:BOOL=OFF
-DBUILD_PERF_TESTS:BOOL=OFF
-DBUILD_PNG:BOOL=OFF
-DBUILD_TBB:BOOL=OFF
......@@ -97,6 +97,23 @@ ExternalProject_Add(OPENCV
-DBUILD_opencv_video:BOOL=OFF
-DBUILD_opencv_videostab:BOOL=OFF
-DBUILD_opencv_world:BOOL=OFF
-DWITH_CUBLAS:BOOL=OFF
-DWITH_DIRECTX:BOOL=OFF
-DWITH_DSHOW:BOOL=OFF
-DWITH_EIGEN:BOOL=OFF
-DWITH_IPP:BOOL=OFF
-DWITH_ITT:BOOL=OFF
-DWITH_LAPACK:BOOL=OFF
-DWITH_MATLAB:BOOL=OFF
-DWITH_NVCUVID:BOOL=OFF
-DWITH_WEBP:BOOL=OFF
-DWITH_WIN32UI:BOOL=OFF
-DBUILD_PROTOBUF:BOOL=OFF
-DBUILD_WEBP:BOOL=OFF
-DBUILD_opencv_java_bindings_generator:BOOL=OFF
-DBUILD_opencv_python_bindings_generator:BOOL=OFF
-DBUILD_opencv_python3:BOOL=OFF
-DBUILD_opencv_python2:BOOL=OFF
-DCMAKE_INSTALL_LIBDIR:PATH=lib
${OPENCV_SB_CONFIG}
DEPENDS ${OPENCV_DEPENDENCIES}
......@@ -107,7 +124,6 @@ ExternalProject_Add(OPENCV
LOG_INSTALL 1
)
SUPERBUILD_PATCH_SOURCE(OPENCV)
set(_SB_OpenCV_DIR ${SB_INSTALL_PREFIX}/share/OpenCV)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment