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:
parent
091631f236
commit
a72f41a109
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user