blob: 02790216ebd1bd4751ac33d253d884220fbbb584 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 9e0baac..bb3ef76 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -287,6 +287,8 @@ if(BUILD_PANGOLIN_VIDEO AND _LINUX_)
message(STATUS "V4L Found and Enabled")
endif()
+add_definitions(-DHAVE_FFMPEG_AVPIXELFORMAT)
+
find_package(FFMPEG QUIET)
if(BUILD_PANGOLIN_VIDEO AND FFMPEG_FOUND)
set(HAVE_FFMPEG 1)
|