mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-30 20:09:00 +08:00
14 lines
385 B
Diff
14 lines
385 B
Diff
|
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)
|