From 1a9576fdffd5ca1c24e8efa44ee7ed3bb5f0164f Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Sat, 18 Dec 2021 20:55:53 +0000 Subject: [PATCH] cmake: enable VA-API on more Unix-like after 0be4e402e213 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 18d553f4d..7d9056aa3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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()