-
Notifications
You must be signed in to change notification settings - Fork 734
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fails to build with FFmpeg 6 PR: 270314 Approved by: portmgr (blanket, build fix) Sponsored by: Blinkinblox
- Loading branch information
Daniel Engberg
authored and
Daniel Engberg
committed
Apr 27, 2023
1 parent
3eb37f1
commit c46e6a0
Showing
2 changed files
with
13 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- CMakeLists.txt.orig 2023-04-25 11:15:51 UTC | ||
+++ CMakeLists.txt | ||
@@ -260,6 +260,7 @@ if(ENABLE_VIDEO) | ||
add_definitions(-DVIDEO_ENABLED) | ||
endif() | ||
if(ENABLE_FFMPEG) | ||
+ set(CMAKE_PREFIX_PATH "%%LOCALBASE%%/ffmpeg4;%%LOCALBASE%%/ffmpeg4/libexec") | ||
find_package(FFMpeg REQUIRED) | ||
else() | ||
add_definitions(-DNO_FFMPEG) |