summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--0-usb-cam-fix-include-not-found.patch13
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
-