mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-12 00:19:22 +08:00
2543be2edf
* [pangolin] Fix static build error * Update versions * Update dependency for pangolin * Update pangolin.json
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)
|