mirror of
https://github.com/opencv/opencv.git
synced 2025-01-10 14:19:03 +08:00
2ed6d0f590
Removed g-api from the main repo #26469 Following #25000. CI patch: https://github.com/opencv/ci-gha-workflow/pull/196 This is migration of G-API from opencv to opencv_contrib, part 1. Here we simply remove G-API from the main repo. The next patch should bring G-API to opencv_contrib. - [x] I agree to contribute to the project under Apache 2 License. - [x] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV - [x] The PR is proposed to the proper branch - [x] There is a reference to the original bug report and related work - [ ] There is accuracy test, performance test and test data in opencv_extra repository, if applicable Patch to opencv_extra has the same branch name. - [ ] The feature is well documented and sample code can be built with the project CMake
27 lines
733 B
CMake
27 lines
733 B
CMake
# Force removal of code conditionally compiled with `#if
|
|
# HAVE_PTHREAD`.
|
|
ocv_update(HAVE_PTHREAD 0)
|
|
|
|
# There components are disabled because they require
|
|
# multi-threaded execution.
|
|
ocv_update(WITH_PROTOBUF OFF)
|
|
ocv_update(WITH_GSTREAMER OFF)
|
|
ocv_update(WITH_IPP OFF)
|
|
ocv_update(WITH_ITT OFF)
|
|
ocv_update(WITH_OPENCL OFF)
|
|
ocv_update(WITH_VA OFF)
|
|
ocv_update(WITH_VA_INTEL OFF)
|
|
|
|
# Disable bindings
|
|
ocv_update(BUILD_opencv_python3 OFF)
|
|
ocv_update(BUILD_JAVA OFF)
|
|
ocv_update(BUILD_opencv_java OFF)
|
|
|
|
# These modules require `#include
|
|
# <[thread|mutex|condition_variable|future]>` and linkage into
|
|
# `libpthread` to work.
|
|
ocv_update(BUILD_opencv_objdetect OFF)
|
|
ocv_update(BUILD_opencv_dnn OFF)
|
|
|
|
set(OPJ_USE_THREAD "OFF" CACHE INTERNAL "")
|