use nfc.def during build on windows

Fixed windows example building by using the provided nfc.def file during the libraries builds process. Previously libnfc was not exporting symbols correctly under windows. fixed the nfc.def file in a previous commit.
This commit is contained in:
Ben 2017-10-15 14:24:00 -06:00 committed by GitHub
parent 091631f236
commit a72f41a109

View File

@ -69,6 +69,11 @@ IF(LIBNFC_LOG)
LIST(APPEND LIBRARY_SOURCES log log-internal)
ENDIF(WIN32)
ENDIF(LIBNFC_LOG)
IF(WIN32)
LIST(APPEND LIBRARY_SOURCES ../contrib/win32/nfc.def)
ENDIF(WIN32)
ADD_LIBRARY(nfc SHARED ${LIBRARY_SOURCES})
IF(PCSC_FOUND)