forked from LadybirdBrowser/ladybird
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This allows us to process container formats in future commits.
- Loading branch information
Showing
4 changed files
with
23 additions
and
11 deletions.
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
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,13 @@ | ||
include_guard() | ||
|
||
find_package(PkgConfig REQUIRED) | ||
pkg_check_modules(AVCODEC IMPORTED_TARGET libavcodec) | ||
pkg_check_modules(AVFORMAT IMPORTED_TARGET libavformat) | ||
|
||
if (AVCODEC_FOUND AND AVFORMAT_FOUND) | ||
set(HAS_FFMPEG ON CACHE BOOL "" FORCE) | ||
add_compile_definitions(USE_FFMPEG=1) | ||
if (AVCODEC_VERSION VERSION_GREATER_EQUAL "59.24.100") | ||
add_compile_definitions(USE_FFMPEG_CH_LAYOUT=1) | ||
endif() | ||
endif() |
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