diff options
| author | NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com> | 2021-03-12 04:14:34 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-11 12:14:34 -0800 |
| commit | 2543be2edf60bf38511c2d477bb17b617398a108 (patch) | |
| tree | fadea369f0375b22adf71ec594aacb8af23a5328 /ports/pangolin/add-definition.patch | |
| parent | f2ae282c8d7c2a4a5a8e2b88ae42723261b7b298 (diff) | |
| download | vcpkg-2543be2edf60bf38511c2d477bb17b617398a108.tar.gz vcpkg-2543be2edf60bf38511c2d477bb17b617398a108.zip | |
[pangolin] Fix static build error (#15593)
* [pangolin] Fix static build error
* Update versions
* Update dependency for pangolin
* Update pangolin.json
Diffstat (limited to 'ports/pangolin/add-definition.patch')
| -rw-r--r-- | ports/pangolin/add-definition.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/ports/pangolin/add-definition.patch b/ports/pangolin/add-definition.patch new file mode 100644 index 000000000..02790216e --- /dev/null +++ b/ports/pangolin/add-definition.patch @@ -0,0 +1,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) |
