mirror of
https://git.h3cjp.net/H3cJP/citra.git
synced 2024-12-26 21:26:59 +00:00
cmake: enable VA-API on more Unix-like after 0be4e402e2
This commit is contained in:
parent
8e33cf1c2b
commit
1a9576fdff
|
@ -508,7 +508,7 @@ set(FFmpeg_COMPONENTS
|
||||||
avutil
|
avutil
|
||||||
swscale)
|
swscale)
|
||||||
|
|
||||||
if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
|
if (UNIX AND NOT APPLE)
|
||||||
Include(FindPkgConfig REQUIRED)
|
Include(FindPkgConfig REQUIRED)
|
||||||
pkg_check_modules(LIBVA libva)
|
pkg_check_modules(LIBVA libva)
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in a new issue