From a9163a53d3734babe362049d121b3ef18f46ae85 Mon Sep 17 00:00:00 2001 From: dab0bby <9976654+dab0bby@users.noreply.github.com> Date: Wed, 18 Sep 2019 17:30:01 +0200 Subject: [PATCH] Merge pull request #15477 from dab0bby:remove-old-build-java-option * remove old BUILD_opencv_java option * replace old build_java option with new BUILD_JAVA option --- CMakeLists.txt | 2 +- .../building_tegra_cuda.markdown | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 148ee83f7f..a31f4639f1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1571,7 +1571,7 @@ if(FLAKE8_FOUND AND FLAKE8_EXECUTABLE) endif() # ========================== java ========================== -if(BUILD_JAVA OR BUILD_opencv_java) +if(BUILD_JAVA) status("") status(" Java:" BUILD_FAT_JAVA_LIB THEN "export all functions" ELSE "") status(" ant:" ANT_EXECUTABLE THEN "${ANT_EXECUTABLE} (ver ${ANT_VERSION})" ELSE NO) diff --git a/doc/tutorials/introduction/building_tegra_cuda/building_tegra_cuda.markdown b/doc/tutorials/introduction/building_tegra_cuda/building_tegra_cuda.markdown index a1e839628f..fcee70c3c1 100644 --- a/doc/tutorials/introduction/building_tegra_cuda/building_tegra_cuda.markdown +++ b/doc/tutorials/introduction/building_tegra_cuda/building_tegra_cuda.markdown @@ -213,7 +213,7 @@ Supported platform: Drive PX 2 -DBUILD_JASPER=OFF \ -DBUILD_ZLIB=OFF \ -DBUILD_EXAMPLES=ON \ - -DBUILD_opencv_java=OFF \ + -DBUILD_JAVA=OFF \ -DBUILD_opencv_python2=ON \ -DBUILD_opencv_python3=OFF \ -DENABLE_NEON=ON \ @@ -263,7 +263,7 @@ Configuration is slightly different for the Jetson TK1 and the Jetson TX1 system -DBUILD_JASPER=OFF \ -DBUILD_ZLIB=OFF \ -DBUILD_EXAMPLES=ON \ - -DBUILD_opencv_java=OFF \ + -DBUILD_JAVA=OFF \ -DBUILD_opencv_python2=ON \ -DBUILD_opencv_python3=OFF \ -DENABLE_NEON=ON \ @@ -300,7 +300,7 @@ __Note:__ This uses CUDA 6.5, not 8.0. -DBUILD_JASPER=OFF \ -DBUILD_ZLIB=OFF \ -DBUILD_EXAMPLES=ON \ - -DBUILD_opencv_java=OFF \ + -DBUILD_JAVA=OFF \ -DBUILD_opencv_python2=ON \ -DBUILD_opencv_python3=OFF \ -DENABLE_PRECOMPILED_HEADERS=OFF \ @@ -345,7 +345,7 @@ The configuration options given to `cmake` below are targeted towards the functi -DBUILD_JASPER=OFF \ -DBUILD_ZLIB=OFF \ -DBUILD_EXAMPLES=ON \ - -DBUILD_opencv_java=OFF \ + -DBUILD_JAVA=OFF \ -DBUILD_opencv_python2=ON \ -DBUILD_opencv_python3=OFF \ -DWITH_OPENCL=OFF \ @@ -476,7 +476,7 @@ For DRIVE PX 2: -DBUILD_JASPER=OFF \ -DBUILD_ZLIB=OFF \ -DBUILD_EXAMPLES=ON \ - -DBUILD_opencv_java=OFF \ + -DBUILD_JAVA=OFF \ -DBUILD_opencv_nonfree=OFF \ -DBUILD_opencv_python=ON \ -DENABLE_NEON=ON \ @@ -513,7 +513,7 @@ For Jetson TK1: -DBUILD_JASPER=OFF \ -DBUILD_ZLIB=OFF \ -DBUILD_EXAMPLES=ON \ - -DBUILD_opencv_java=OFF \ + -DBUILD_JAVA=OFF \ -DBUILD_opencv_nonfree=OFF \ -DBUILD_opencv_python=ON \ -DENABLE_NEON=ON \ @@ -548,7 +548,7 @@ For Jetson TX1: -DBUILD_JASPER=OFF \ -DBUILD_ZLIB=OFF \ -DBUILD_EXAMPLES=ON \ - -DBUILD_opencv_java=OFF \ + -DBUILD_JAVA=OFF \ -DBUILD_opencv_nonfree=OFF \ -DBUILD_opencv_python=ON \ -DENABLE_PRECOMPILED_HEADERS=OFF \ @@ -585,7 +585,7 @@ For both 14.04 LTS and 16.04 LTS: -DBUILD_JASPER=OFF \ -DBUILD_ZLIB=OFF \ -DBUILD_EXAMPLES=ON \ - -DBUILD_opencv_java=OFF \ + -DBUILD_JAVA=OFF \ -DBUILD_opencv_nonfree=OFF \ -DBUILD_opencv_python=ON \ -DWITH_OPENCL=OFF \ @@ -626,7 +626,7 @@ The following is a table of all the parameters passed to CMake in the recommende |BUILD_TBB|OFF|As above, for `tbb`| | |BUILD_TIFF|OFF|As above, for `libtiff`| | |BUILD_ZLIB|OFF|As above, for `zlib`| | -|BUILD_opencv_java|OFF|Controls the building of the Java bindings for OpenCV|Building the Java bindings requires OpenCV libraries be built for static linking only| +|BUILD_JAVA|OFF|Controls the building of the Java bindings for OpenCV|Building the Java bindings requires OpenCV libraries be built for static linking only| |BUILD_opencv_nonfree|OFF|Controls the building of non-free (non-open-source) elements|Used only for building 2.4.X| |BUILD_opencv_python|ON|Controls the building of the Python 2 bindings in OpenCV 2.4.X|Used only for building 2.4.X| |BUILD_opencv_python2|ON|Controls the building of the Python 2 bindings in OpenCV 3.1.0|Not used in 2.4.X|