Kaynağa Gözat

Merge pull request #4284 from ogniK5377/libusb-fix

cmake: Fix libusb builds breaking
David 6 yıl önce
ebeveyn
işleme
df27813e76
1 değiştirilmiş dosya ile 1 ekleme ve 0 silme
  1. 1 0
      CMakeLists.txt

+ 1 - 0
CMakeLists.txt

@@ -330,6 +330,7 @@ elseif(SDL2_FOUND)
 endif()
 endif()
 
 
 # Ensure libusb is properly configured (based on dolphin libusb include)
 # Ensure libusb is properly configured (based on dolphin libusb include)
+INCLUDE(FindPkgConfig)
 find_package(LibUSB)
 find_package(LibUSB)
 if (NOT LIBUSB_FOUND)
 if (NOT LIBUSB_FOUND)
     add_subdirectory(externals/libusb)
     add_subdirectory(externals/libusb)