From 6dd7b0aa3a2f9a30be138e15d8f18d3dbe973995 Mon Sep 17 00:00:00 2001 From: Hamdi Sahloul Date: Tue, 11 Sep 2018 23:33:22 +0900 Subject: [PATCH] ! test: disable objdetect & java modules --- modules/java/CMakeLists.txt | 1 + modules/objdetect/CMakeLists.txt | 1 + 2 files changed, 2 insertions(+) diff --git a/modules/java/CMakeLists.txt b/modules/java/CMakeLists.txt index 8cc4bd07a652..5b3140011b22 100644 --- a/modules/java/CMakeLists.txt +++ b/modules/java/CMakeLists.txt @@ -3,6 +3,7 @@ if(OPENCV_INITIAL_PASS) add_subdirectory(generator) endif() +ocv_module_disable(java) if(APPLE_FRAMEWORK OR WINRT OR NOT PYTHON_DEFAULT_AVAILABLE OR NOT ANT_EXECUTABLE OR NOT (JNI_FOUND OR (ANDROID AND ANDROID_NATIVE_API_LEVEL GREATER 7)) OR BUILD_opencv_world diff --git a/modules/objdetect/CMakeLists.txt b/modules/objdetect/CMakeLists.txt index 4e330af6c048..fc40b1166df4 100644 --- a/modules/objdetect/CMakeLists.txt +++ b/modules/objdetect/CMakeLists.txt @@ -1,2 +1,3 @@ set(the_description "Object Detection") +ocv_module_disable(objdetect) ocv_define_module(objdetect opencv_core opencv_imgproc WRAP java python js)