diff options
| author | bunnei <bunneidev@gmail.com> | 2021-12-21 22:46:49 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-21 22:46:49 -0800 |
| commit | f1eff447bbd384b9c091f4ff559affae1f05855c (patch) | |
| tree | ca01c6afce779d43fa47ef10f589205ccf7a9897 /CMakeLists.txt | |
| parent | 6991d447d4f2c02b941cc6194a4d256c56063143 (diff) | |
| parent | e57b13ad948eb43bed22125800f33c236d698781 (diff) | |
Merge pull request #7602 from jbeich/freebsd-vaapi
build: enable VA-API on FreeBSD
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 18d553f4d..7d9056aa3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -508,7 +508,7 @@ set(FFmpeg_COMPONENTS avutil swscale) -if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux") +if (UNIX AND NOT APPLE) Include(FindPkgConfig REQUIRED) pkg_check_modules(LIBVA libva) endif() |
