Преглед изворни кода

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

Jan Beich пре 4 година
родитељ
комит
1a9576fdff
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      CMakeLists.txt

+ 1 - 1
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()