cmake: Fix FindPkgConfig
This commit is contained in:
parent
8d4458ef24
commit
09a87966e0
3 changed files with 5 additions and 5 deletions
2
externals/ffmpeg/CMakeLists.txt
vendored
2
externals/ffmpeg/CMakeLists.txt
vendored
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue