aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorAmeer J <52414509+ameerj@users.noreply.github.com>2021-05-31 14:28:56 -0400
committerGitHub <noreply@github.com>2021-05-31 14:28:56 -0400
commit519ddfae04c7f1f2225c91e33edcf7a86b20e9c2 (patch)
tree5dee538ab010a17af315fdd76a7d60bdfc36b57b /CMakeLists.txt
parentf34176996e443cb79bd70ea2c72feeabac2b1430 (diff)
parent1914a1d21c5e1891b0c6d5ab1ffbe0464877d1e0 (diff)
Merge pull request #6394 from lat9nq/mingw-fix
externals: libusb: Use autotools for MinGW
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 10c5032dc..ba207dfd1 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -426,7 +426,7 @@ if(NOT APPLE)
endif()
if (NOT LIBUSB_FOUND)
add_subdirectory(externals/libusb)
- set(LIBUSB_INCLUDE_DIR "")
+ set(LIBUSB_INCLUDE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/externals/libusb/libusb/libusb")
set(LIBUSB_LIBRARIES usb)
endif()