summaryrefslogtreecommitdiff
path: root/externals/libusb
diff options
context:
space:
mode:
authorMai <mathew1800@gmail.com>2022-10-07 20:25:51 -0400
committerGitHub <noreply@github.com>2022-10-07 20:25:51 -0400
commitb7ad83383f70650dee3d0fdc4b29bbdfc2f30fbb (patch)
tree048157f74415901ff507337c08d52b33092bcabd /externals/libusb
parent6f101e0f02502b51c13c1d349c0b78f4091f5d3c (diff)
parent09a87966e06fd8ba1cf40332a6c4ef81f8a1eac8 (diff)
Merge pull request #8932 from abouvier/cmake-pkgconfig
cmake: Fix FindPkgConfig
Diffstat (limited to 'externals/libusb')
-rw-r--r--externals/libusb/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
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)
target_include_directories(usb INTERFACE "${LIBUSB_INCLUDE_DIRS}")
if (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
- Include(FindPkgConfig)
+ find_package(PkgConfig)
pkg_check_modules(LIBUDEV REQUIRED libudev)
if (LIBUDEV_FOUND)