]> git.proxmox.com Git - ceph.git/blob - ceph/src/jaegertracing/opentelemetry-cpp/tools/vcpkg/ports/opencv3/0008-devendor-quirc.patch
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / jaegertracing / opentelemetry-cpp / tools / vcpkg / ports / opencv3 / 0008-devendor-quirc.patch
1 diff --git a/CMakeLists.txt b/CMakeLists.txt
2 index 5810b0c..04315e3 100644
3 --- a/CMakeLists.txt
4 +++ b/CMakeLists.txt
5 @@ -771,7 +771,7 @@ if(WITH_OPENVX)
6 endif()
7
8 if(WITH_QUIRC)
9 - add_subdirectory(3rdparty/quirc)
10 + find_package(quirc CONFIG REQUIRED)
11 set(HAVE_QUIRC TRUE)
12 endif()
13 # ----------------------------------------------------------------------------
14 diff --git a/modules/objdetect/CMakeLists.txt b/modules/objdetect/CMakeLists.txt
15 index 414e578..4f26d75 100644
16 --- a/modules/objdetect/CMakeLists.txt
17 +++ b/modules/objdetect/CMakeLists.txt
18 @@ -2,7 +2,5 @@ set(the_description "Object Detection")
19 ocv_define_module(objdetect opencv_core opencv_imgproc opencv_calib3d WRAP java python js)
20
21 if(HAVE_QUIRC)
22 - get_property(QUIRC_INCLUDE GLOBAL PROPERTY QUIRC_INCLUDE_DIR)
23 - ocv_include_directories(${QUIRC_INCLUDE})
24 - ocv_target_link_libraries(${the_module} quirc)
25 + ocv_target_link_libraries(${the_module} quirc::quirc)
26 endif()