mirror of
https://github.com/nfc-tools/libnfc.git
synced 2026-04-28 17:36:18 +00:00
windows port improved:
- PCSC headers/libs are not a requierement sif you dont select ACR122 driver - uart_win32 implementation now handles timeouts
This commit is contained in:
@@ -88,6 +88,16 @@ IF(NOT WIN32)
|
||||
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/libnfc.pc DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig)
|
||||
ENDIF(NOT WIN32)
|
||||
|
||||
IF(PCSC_INCLUDE_DIRS)
|
||||
INCLUDE_DIRECTORIES(${PCSC_INCLUDE_DIRS})
|
||||
LINK_DIRECTORIES(${PCSC_LIBRARY_DIRS})
|
||||
ENDIF(PCSC_INCLUDE_DIRS)
|
||||
|
||||
IF(LIBUSB_INCLUDE_DIRS)
|
||||
INCLUDE_DIRECTORIES(${LIBUSB_INCLUDE_DIRS})
|
||||
LINK_DIRECTORIES(${LIBUSB_LIBRARY_DIRS})
|
||||
ENDIF(LIBUSB_INCLUDE_DIRS)
|
||||
|
||||
ADD_SUBDIRECTORY(libnfc)
|
||||
ADD_SUBDIRECTORY(include)
|
||||
ADD_SUBDIRECTORY(utils)
|
||||
|
||||
Reference in New Issue
Block a user