Merge pull request #51 from ChristophGr/master

Fix build on Windows
This commit is contained in:
Romuald Conty 2016-12-15 19:54:21 +01:00 committed by GitHub
commit 295104a893
2 changed files with 2 additions and 0 deletions

View file

@ -18,6 +18,7 @@ ENDIF(WIN32)
if(MINGW) if(MINGW)
# force MinGW-w64 in 32bit mode # force MinGW-w64 in 32bit mode
add_definitions("-m32") add_definitions("-m32")
add_definitions("-DNOCRYPT")
set(CMAKE_SHARED_LINKER_FLAGS -m32) set(CMAKE_SHARED_LINKER_FLAGS -m32)
set(CMAKE_EXE_LINKER_FLAGS -m32) set(CMAKE_EXE_LINKER_FLAGS -m32)
endif(MINGW) endif(MINGW)

View file

@ -1,4 +1,5 @@
set(LIBRARY_SOURCES set(LIBRARY_SOURCES
felica
freefare freefare
freefare_internal freefare_internal
mad mad