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

pull/8/head
Jan Beich 4 years ago
parent 8e33cf1c2b
commit 1a9576fdff

@ -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…
Cancel
Save