Windows: Fix bug when compiling without libusb: skip usbbus.c
This commit is contained in:
parent
f8d8052866
commit
a262be5633
1 changed files with 5 additions and 1 deletions
|
@ -12,7 +12,11 @@ SET(CHIPS_SOURCES chips/pn53x)
|
|||
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/chips)
|
||||
|
||||
# Library's buses
|
||||
SET(BUSES_SOURCES buses/uart buses/usbbus)
|
||||
IF(LIBUSB_FOUND)
|
||||
SET(BUSES_SOURCES buses/uart buses/usbbus)
|
||||
ELSE(LIBUSB_FOUND)
|
||||
SET(BUSES_SOURCES buses/uart)
|
||||
ENDIF(LIBUSB_FOUND)
|
||||
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/buses)
|
||||
|
||||
INCLUDE(LibnfcDrivers)
|
||||
|
|
Loading…
Add table
Reference in a new issue