From 4d458ec3d6be7bfc92904d38c7024ef11b1c3c51 Mon Sep 17 00:00:00 2001 From: Romuald Conty Date: Wed, 9 Mar 2011 18:41:57 +0000 Subject: [PATCH] Attempt to fix Windows port. --- examples/nfc-emulate-forum-tag4.c | 2 -- libnfc/CMakeLists.txt | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/examples/nfc-emulate-forum-tag4.c b/examples/nfc-emulate-forum-tag4.c index df46845..fd5b8e2 100644 --- a/examples/nfc-emulate-forum-tag4.c +++ b/examples/nfc-emulate-forum-tag4.c @@ -54,8 +54,6 @@ # include "config.h" #endif // HAVE_CONFIG_H -#include - #include #include #include diff --git a/libnfc/CMakeLists.txt b/libnfc/CMakeLists.txt index d8f96c6..3778710 100644 --- a/libnfc/CMakeLists.txt +++ b/libnfc/CMakeLists.txt @@ -18,7 +18,7 @@ INCLUDE_DIRECTORIES(${LIBUSB_INCLUDE_DIRS} ${PCSC_INCLUDE_DIRS}) LINK_DIRECTORIES(${LIBUSB_LIBRARY_DIRS} ${PCSC_LIBRARY_DIRS}) # Library -SET(LIBRARY_SOURCES nfc iso14443-subr mirror-subr ${DRIVERS_SOURCES} ${BUSES_SOURCES} ${CHIPS_SOURCES}) +SET(LIBRARY_SOURCES nfc nfc-device iso14443-subr mirror-subr ${DRIVERS_SOURCES} ${BUSES_SOURCES} ${CHIPS_SOURCES}) INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}) ADD_LIBRARY(nfc SHARED ${LIBRARY_SOURCES}) TARGET_LINK_LIBRARIES(nfc ${LIBUSB_LIBRARIES} ${PCSC_LIBRARIES})