mirror of
https://github.com/nfc-tools/libnfc.git
synced 2026-03-13 11:03:48 +00:00
Enables logging by default when using CMake
This commit is contained in:
@@ -39,9 +39,10 @@ ENDIF(LIBUSB_FOUND)
|
||||
# Library
|
||||
SET(LIBRARY_SOURCES nfc nfc-device nfc-emulation nfc-internal conf iso14443-subr mirror-subr target-subr log ${DRIVERS_SOURCES} ${BUSES_SOURCES} ${CHIPS_SOURCES} ${WINDOWS_SOURCES})
|
||||
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR})
|
||||
IF(LIBNFC_DEBUG_OUTPUT)
|
||||
|
||||
IF(LIBNFC_LOG)
|
||||
LIST(APPEND LIBRARY_SOURCES log-printf)
|
||||
ENDIF(LIBNFC_DEBUG_OUTPUT)
|
||||
ENDIF(LIBNFC_LOG)
|
||||
ADD_LIBRARY(nfc SHARED ${LIBRARY_SOURCES})
|
||||
|
||||
IF(PCSC_FOUND)
|
||||
|
||||
Reference in New Issue
Block a user