diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/opencv4/0014-fix-cmake-in-list.patch | |
Diffstat (limited to 'vcpkg/ports/opencv4/0014-fix-cmake-in-list.patch')
| -rw-r--r-- | vcpkg/ports/opencv4/0014-fix-cmake-in-list.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/vcpkg/ports/opencv4/0014-fix-cmake-in-list.patch b/vcpkg/ports/opencv4/0014-fix-cmake-in-list.patch new file mode 100644 index 0000000..7d7b1b2 --- /dev/null +++ b/vcpkg/ports/opencv4/0014-fix-cmake-in-list.patch @@ -0,0 +1,13 @@ +--- a/cmake/OpenCVUtils.cmake ++++ b/cmake/OpenCVUtils.cmake +@@ -1667,8 +1667,8 @@ function(ocv_install_used_external_targets) + if(NOT BUILD_SHARED_LIBS + AND NOT (CMAKE_VERSION VERSION_LESS "3.13.0") # upgrade CMake: https://gitlab.kitware.com/cmake/cmake/-/merge_requests/2152 + ) +- foreach(tgt in ${ARGN}) +- if(tgt MATCHES "^ocv\.3rdparty\.") ++ foreach(tgt ${ARGN}) ++ if(tgt MATCHES "^ocv[.]3rdparty[.]") + list(FIND __OPENCV_EXPORTED_EXTERNAL_TARGETS "${tgt}" _found) + if(_found EQUAL -1) # don't export target twice + install(TARGETS ${tgt} EXPORT OpenCVModules) |