fix build on windows

This commit is contained in:
Christoph Gritschenberger 2016-12-15 18:03:59 +01:00
parent d7c1aa6f72
commit 6e413c9782
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