Skip to content

Commit

Permalink
Update OpenCV patching to support Config.cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
starseeker committed Oct 11, 2024
1 parent a5d4856 commit 67903cf
Show file tree
Hide file tree
Showing 3 changed files with 82 additions and 380 deletions.
2 changes: 1 addition & 1 deletion opencv/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ if (ENABLE_OPENCV)
ExternalProject_Add(OPENCV_BLD
URL "${CMAKE_CURRENT_SOURCE_DIR}/opencv"
BUILD_ALWAYS ${EXT_BUILD_ALWAYS} ${LOG_OPTS}
PATCH_COMMAND ${PATCH_EXECUTABLE};-E;-p1;${PATCH_OPTIONS};-i;${CMAKE_CURRENT_SOURCE_DIR}/opencv.patch
PATCH_COMMAND ${PATCH_EXECUTABLE};-E;-p1;${PATCH_OPTIONS};-i;${CMAKE_CURRENT_SOURCE_DIR}/opencv_cmake.patch
CMAKE_ARGS
-DMIN_VER_CMAKE=3.19
-DCMAKE_FIND_PACKAGE_PREFER_CONFIG=ON
Expand Down
379 changes: 0 additions & 379 deletions opencv/opencv.patch

This file was deleted.

Loading

0 comments on commit 67903cf

Please sign in to comment.