cmake: Fix FindPkgConfig

This commit is contained in:
Alexandre Bouvier 2022-09-20 22:21:52 +02:00
parent fa7daaf171
commit 94f6f6ba20
3 changed files with 5 additions and 5 deletions

View file

@ -43,7 +43,7 @@ if (NOT WIN32)
CACHE PATH "Paths to FFmpeg libraries" FORCE)
endforeach()
Include(FindPkgConfig REQUIRED)
find_package(PkgConfig REQUIRED)
pkg_check_modules(LIBVA libva)
pkg_check_modules(CUDA cuda)
pkg_check_modules(FFNVCODEC ffnvcodec)