cmake: enable VA-API on more Unix-like after e52d5fa553
This commit is contained in:
parent
5d73d0b0ae
commit
59e8683b80
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue