diff options
| author | Jan Beich <jbeich@FreeBSD.org> | 2020-07-09 14:56:56 +0000 |
|---|---|---|
| committer | Jan Beich <jbeich@FreeBSD.org> | 2020-07-09 15:26:54 +0000 |
| commit | 48ff15602e89ee2b7946310dd343859d56795a67 (patch) | |
| tree | f7a5d0e84ef975ee6cc2b17046b08fdd3f3cbe2b /CMakeLists.txt | |
| parent | 77bdd09aa204e1e424d9b6b4d846301ab8dc892e (diff) | |
cmake: pass libusb include directory as well
In file included from src/input_common/gcadapter/gc_adapter.cpp:8:
src/./input_common/gcadapter/gc_adapter.h:11:10: fatal error: 'libusb.h' file not found
#include <libusb.h>
^~~~~~~~~~
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index cd40e5cfe..eb51d09dc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -333,6 +333,7 @@ endif() find_package(LibUSB) if (NOT LIBUSB_FOUND) add_subdirectory(externals/libusb) + set(LIBUSB_INCLUDE_DIR "") set(LIBUSB_LIBRARIES usb) endif() |
