summarylogtreecommitdiffstats
path: root/OpenCV.cmake.patch
blob: 2193bf5c976c39632728f16c715de3b12c7425d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- OpenCV.cmake	2024-11-06 02:22:27.525051542 -0500
+++ deps/OpenCV/OpenCV.cmake	2024-11-06 01:55:54.590195031 -0500
@@ -7,7 +7,7 @@
 bambustudio_add_cmake_project(OpenCV
     URL https://github.com/opencv/opencv/archive/refs/tags/4.6.0.tar.gz
     URL_HASH SHA256=1ec1cba65f9f20fe5a41fda1586e01c70ea0c9a6d7b67c9e13edf0cfe2239277
+    PATCH_COMMAND ${GIT_EXECUTABLE} apply --verbose --ignore-space-change --whitespace=fix ${CMAKE_CURRENT_LIST_DIR}/0001-OpenCV-fix.patch
-    PATCH_COMMAND ${GIT_EXECUTABLE} apply --directory deps/build/dep_OpenCV-prefix/src/dep_OpenCV --verbose --ignore-space-change --whitespace=fix ${CMAKE_CURRENT_LIST_DIR}/0001-OpenCV-fix.patch
     CMAKE_ARGS
     -DBUILD_SHARED_LIBS=0
        -DBUILD_PERE_TESTS=OFF