summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
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
508 avutil 508 avutil
509 swscale) 509 swscale)
510 510
511if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux") 511if (UNIX AND NOT APPLE)
512 Include(FindPkgConfig REQUIRED) 512 Include(FindPkgConfig REQUIRED)
513 pkg_check_modules(LIBVA libva) 513 pkg_check_modules(LIBVA libva)
514endif() 514endif()