diff options
Diffstat (limited to 'externals')
| -rw-r--r-- | externals/ffmpeg/CMakeLists.txt | 2 | ||||
| -rw-r--r-- | externals/libusb/CMakeLists.txt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/externals/ffmpeg/CMakeLists.txt b/externals/ffmpeg/CMakeLists.txt index 20ad716ea..0baac8e17 100644 --- a/externals/ffmpeg/CMakeLists.txt +++ b/externals/ffmpeg/CMakeLists.txt | |||
| @@ -43,7 +43,7 @@ if (NOT WIN32) | |||
| 43 | CACHE PATH "Paths to FFmpeg libraries" FORCE) | 43 | CACHE PATH "Paths to FFmpeg libraries" FORCE) |
| 44 | endforeach() | 44 | endforeach() |
| 45 | 45 | ||
| 46 | Include(FindPkgConfig REQUIRED) | 46 | find_package(PkgConfig REQUIRED) |
| 47 | pkg_check_modules(LIBVA libva) | 47 | pkg_check_modules(LIBVA libva) |
| 48 | pkg_check_modules(CUDA cuda) | 48 | pkg_check_modules(CUDA cuda) |
| 49 | pkg_check_modules(FFNVCODEC ffnvcodec) | 49 | pkg_check_modules(FFNVCODEC ffnvcodec) |
diff --git a/externals/libusb/CMakeLists.txt b/externals/libusb/CMakeLists.txt index 055b89295..3cb1b3687 100644 --- a/externals/libusb/CMakeLists.txt +++ b/externals/libusb/CMakeLists.txt | |||
| @@ -108,7 +108,7 @@ if (MINGW OR (${CMAKE_SYSTEM_NAME} MATCHES "Linux") OR APPLE) | |||
| 108 | target_include_directories(usb INTERFACE "${LIBUSB_INCLUDE_DIRS}") | 108 | target_include_directories(usb INTERFACE "${LIBUSB_INCLUDE_DIRS}") |
| 109 | 109 | ||
| 110 | if (${CMAKE_SYSTEM_NAME} MATCHES "Linux") | 110 | if (${CMAKE_SYSTEM_NAME} MATCHES "Linux") |
| 111 | Include(FindPkgConfig) | 111 | find_package(PkgConfig) |
| 112 | pkg_check_modules(LIBUDEV REQUIRED libudev) | 112 | pkg_check_modules(LIBUDEV REQUIRED libudev) |
| 113 | 113 | ||
| 114 | if (LIBUDEV_FOUND) | 114 | if (LIBUDEV_FOUND) |