diff options
| author | CoprDistGit <infra@openeuler.org> | 2026-04-01 04:00:50 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2026-04-01 04:00:50 +0000 |
| commit | bbe23323e70e06ccfc24d58e9a7f87c734961a00 (patch) | |
| tree | 4730a3bb3aba6553ce4384c4e8bb0268996e8d12 | |
| parent | c629a256404be95329c46f61854aac8a459fbfa8 (diff) | |
automatic import of usb_cam
| -rw-r--r-- | 0-usb-cam-fix-include-not-found.patch | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/0-usb-cam-fix-include-not-found.patch b/0-usb-cam-fix-include-not-found.patch index 4f78521..df8516d 100644 --- a/0-usb-cam-fix-include-not-found.patch +++ b/0-usb-cam-fix-include-not-found.patch @@ -1,16 +1,15 @@ diff --git a/CMakeLists.txt b/CMakeLists.txt -index 7643f27..14d333d 100644 +index 1a83c1e..afdd237 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt -@@ -42,6 +42,8 @@ target_include_directories(${PROJECT_NAME} PUBLIC +@@ -41,7 +41,10 @@ add_library(${PROJECT_NAME} SHARED + target_include_directories(${PROJECT_NAME} PUBLIC "include" + ${OpenCV_INCLUDE_DIRS} ++ "/usr/include/ffmpeg" ) - +include_directories(/usr/include/ffmpeg) + + target_link_libraries(${PROJECT_NAME} ${avcodec_LIBRARIES} - ${avutil_LIBRARIES} --- -2.41.0 - |
