Example and util compile fine.
This commit is contained in:
parent
82f23c411d
commit
e21fab3685
7 changed files with 1343 additions and 1 deletions
|
|
@ -41,6 +41,9 @@ FOREACH(source ${UTILS-SOURCES})
|
|||
LIST(APPEND TARGETS ../contrib/win32/stdlib)
|
||||
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/../contrib/win32)
|
||||
ENDIF(${source} MATCHES "nfc-scan-device")
|
||||
IF(${source} MATCHES "nfc-read-forum-tag3")
|
||||
LIST(APPEND TARGETS ${CMAKE_CURRENT_SOURCE_DIR}/../contrib/win32/getopt.c)
|
||||
ENDIF()
|
||||
ENDIF(WIN32)
|
||||
|
||||
ADD_EXECUTABLE(${source} ${TARGETS})
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@
|
|||
|
||||
#include "nfc-utils.h"
|
||||
|
||||
#if defined(WIN32) && defined(__GNUC__) /* mingw compiler */
|
||||
#if defined(WIN32) /* mingw compiler */
|
||||
#include <getopt.h>
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue