mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-29 21:54:23 +08:00
801f40c688
* [OpenCV] update to v4.5.3 and to v3.4.15 * [OpenCV] update refs * [libxml2] add missing find_dependency(Iconv) [libiconv] update cmake wrapper * [libiconv] fix hints * [opencv4] do not require cudnn if cuda enabled * [opencv] update refs * [OpenCV] increase CI coverage even more * [vcpkg-ci-opencv] trying to restore x64-uwp ci tests * restore previous patches to avoid unnecessary modifications * [OpenCV] fix refs * [OpenCV] fix CMake Warning related to protobuf dependency * [OpenCV] fix refs * [libxml2] fix references * [libxml2] restore previous cmake wrapper, new one is broken * [libxml2] fix references * bump versions * update refs * [libxml2] Update the format for vcpkg-cmake-wrapper.cmake * Update versions/l-/libxml2.json * [libxml2] update port version * [libxml2] update refs * [OpenCV] fix refs Co-authored-by: NancyLi1013 <lirui09@beyondsoft.com>
27 lines
884 B
Diff
27 lines
884 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index b51bcde..15edc92 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -803,7 +803,7 @@ if(WITH_OPENVX)
|
|
endif()
|
|
|
|
if(WITH_QUIRC)
|
|
- add_subdirectory(3rdparty/quirc)
|
|
+ find_package(quirc CONFIG REQUIRED)
|
|
set(HAVE_QUIRC TRUE)
|
|
endif()
|
|
|
|
diff --git a/modules/objdetect/CMakeLists.txt b/modules/objdetect/CMakeLists.txt
|
|
index 3fa0c5d..f4c0ad6 100644
|
|
--- a/modules/objdetect/CMakeLists.txt
|
|
+++ b/modules/objdetect/CMakeLists.txt
|
|
@@ -2,7 +2,5 @@ set(the_description "Object Detection")
|
|
ocv_define_module(objdetect opencv_core opencv_imgproc opencv_calib3d WRAP java objc python js)
|
|
|
|
if(HAVE_QUIRC)
|
|
- get_property(QUIRC_INCLUDE GLOBAL PROPERTY QUIRC_INCLUDE_DIR)
|
|
- ocv_include_directories(${QUIRC_INCLUDE})
|
|
- ocv_target_link_libraries(${the_module} quirc)
|
|
+ ocv_target_link_libraries(${the_module} quirc::quirc)
|
|
endif()
|