1
0
mirror of https://git.suyu.dev/suyu/suyu synced 2025-04-15 08:44:10 -05:00

cmake: enable VA-API on more Unix-like after 0be4e402e213

This commit is contained in:
Jan Beich 2021-12-18 20:55:53 +00:00
parent 8e33cf1c2b
commit 1a9576fdff

View File

@ -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()