POSIX: FTDI: Use libusb include directory
This allows for the same include to be used on macOSpull/32/head
parent
a5b27a15b0
commit
e5920417ff
|
|
@ -194,6 +194,7 @@ if(NOT WIN32)
|
|||
set(FTDIPP OFF CACHE INTERNAL "")
|
||||
set(FTDI_EEPROM OFF CACHE INTERNAL "")
|
||||
add_subdirectory(third-party/libftdi)
|
||||
include_directories(${LIBUSB_INCLUDE_DIR})
|
||||
endif(NOT WIN32)
|
||||
|
||||
# winpcap
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
#include "libusb-1.0/libusb.h"
|
||||
#include "icsneo/platform/ftdi.h"
|
||||
#include <iostream>
|
||||
#include <stdio.h>
|
||||
|
|
@ -6,6 +5,7 @@
|
|||
#include <memory>
|
||||
#include <utility>
|
||||
#include <algorithm>
|
||||
#include <libusb.h>
|
||||
|
||||
using namespace icsneo;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue