diff options
| author | 2021-12-18 20:55:53 +0000 | |
|---|---|---|
| committer | 2021-12-18 20:57:30 +0000 | |
| commit | 1a9576fdffd5ca1c24e8efa44ee7ed3bb5f0164f (patch) | |
| tree | 51c98900ff8cd501680dabefa34abc2113e237b3 | |
| parent | Merge pull request #7593 from german77/brrr_test (diff) | |
| download | yuzu-1a9576fdffd5ca1c24e8efa44ee7ed3bb5f0164f.tar.gz yuzu-1a9576fdffd5ca1c24e8efa44ee7ed3bb5f0164f.tar.xz yuzu-1a9576fdffd5ca1c24e8efa44ee7ed3bb5f0164f.zip | |
cmake: enable VA-API on more Unix-like after 0be4e402e213
| -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 | |||
| 508 | avutil | 508 | avutil |
| 509 | swscale) | 509 | swscale) |
| 510 | 510 | ||
| 511 | if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux") | 511 | if (UNIX AND NOT APPLE) |
| 512 | Include(FindPkgConfig REQUIRED) | 512 | Include(FindPkgConfig REQUIRED) |
| 513 | pkg_check_modules(LIBVA libva) | 513 | pkg_check_modules(LIBVA libva) |
| 514 | endif() | 514 | endif() |