cross compile insn, exclude x11 from headless

This commit is contained in:
lizzie 2026-01-14 20:00:25 +00:00
parent 7b7b50f37c
commit ab8867cd50
2 changed files with 4 additions and 2 deletions

View file

@ -11,7 +11,7 @@ set(FFmpeg_HWACCEL_FLAGS)
set(FFmpeg_HWACCEL_INCLUDE_DIRS)
set(FFmpeg_HWACCEL_LDFLAGS)
if (UNIX AND NOT ANDROID)
if (PLATFORM_LINUX AND NOT ANDROID)
find_package(PkgConfig REQUIRED)
if (NOT ANDROID)
pkg_check_modules(LIBVA libva)