|
|
|
@ -187,6 +187,17 @@ endif() |
|
|
|
|
|
|
|
|
|
OCV_OPTION(OPENCV_ENABLE_NONFREE "Enable non-free algorithms" OFF) |
|
|
|
|
|
|
|
|
|
# 3rd party libs |
|
|
|
|
OCV_OPTION(BUILD_ZLIB "Build zlib from source" WIN32 OR APPLE) |
|
|
|
|
OCV_OPTION(BUILD_TIFF "Build libtiff from source" WIN32 OR ANDROID OR APPLE) |
|
|
|
|
OCV_OPTION(BUILD_JASPER "Build libjasper from source" WIN32 OR ANDROID OR APPLE) |
|
|
|
|
OCV_OPTION(BUILD_JPEG "Build libjpeg from source" WIN32 OR ANDROID OR APPLE) |
|
|
|
|
OCV_OPTION(BUILD_PNG "Build libpng from source" WIN32 OR ANDROID OR APPLE) |
|
|
|
|
OCV_OPTION(BUILD_OPENEXR "Build openexr from source" (WIN32 OR ANDROID OR APPLE) AND NOT WINRT) |
|
|
|
|
OCV_OPTION(BUILD_TBB "Download and build TBB from source" ANDROID ) |
|
|
|
|
OCV_OPTION(BUILD_IPP_IW "Build IPP IW from source" NOT MINGW IF (X86_64 OR X86) AND NOT WINRT ) |
|
|
|
|
OCV_OPTION(BUILD_ITT "Build Intel ITT from source" NOT MINGW IF (X86_64 OR X86) AND NOT WINRT AND NOT APPLE_FRAMEWORK ) |
|
|
|
|
|
|
|
|
|
# Optional 3rd party components |
|
|
|
|
# =================================================== |
|
|
|
|
OCV_OPTION(WITH_1394 "Include IEEE1394 support" ON IF (NOT ANDROID AND NOT IOS AND NOT WINRT) ) |
|
|
|
@ -272,18 +283,6 @@ OCV_OPTION(BUILD_ANDROID_SERVICE "Build OpenCV Manager for Google Play" OFF I |
|
|
|
|
OCV_OPTION(BUILD_CUDA_STUBS "Build CUDA modules stubs when no CUDA SDK" OFF IF (NOT APPLE_FRAMEWORK) ) |
|
|
|
|
OCV_OPTION(BUILD_JAVA "Enable Java support" (ANDROID OR NOT CMAKE_CROSSCOMPILING) IF (ANDROID OR (NOT APPLE_FRAMEWORK AND NOT WINRT)) ) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# 3rd party libs |
|
|
|
|
OCV_OPTION(BUILD_ZLIB "Build zlib from source" WIN32 OR APPLE ) |
|
|
|
|
OCV_OPTION(BUILD_TIFF "Build libtiff from source" WIN32 OR ANDROID OR APPLE ) |
|
|
|
|
OCV_OPTION(BUILD_JASPER "Build libjasper from source" WIN32 OR ANDROID OR APPLE ) |
|
|
|
|
OCV_OPTION(BUILD_JPEG "Build libjpeg from source" WIN32 OR ANDROID OR APPLE ) |
|
|
|
|
OCV_OPTION(BUILD_PNG "Build libpng from source" WIN32 OR ANDROID OR APPLE ) |
|
|
|
|
OCV_OPTION(BUILD_OPENEXR "Build openexr from source" (WIN32 OR ANDROID OR APPLE) AND NOT WINRT) |
|
|
|
|
OCV_OPTION(BUILD_TBB "Download and build TBB from source" ANDROID ) |
|
|
|
|
OCV_OPTION(BUILD_IPP_IW "Build IPP IW from source" NOT MINGW IF (X86_64 OR X86) AND NOT WINRT ) |
|
|
|
|
OCV_OPTION(BUILD_ITT "Build Intel ITT from source" NOT MINGW IF (X86_64 OR X86) AND NOT WINRT AND NOT APPLE_FRAMEWORK ) |
|
|
|
|
|
|
|
|
|
# OpenCV installation options |
|
|
|
|
# =================================================== |
|
|
|
|
OCV_OPTION(INSTALL_CREATE_DISTRIB "Change install rules to build the distribution package" OFF ) |
|
|
|
|