From 6e413c978213427154c1713463f4efc856963ba1 Mon Sep 17 00:00:00 2001 From: Christoph Gritschenberger Date: Thu, 15 Dec 2016 18:03:59 +0100 Subject: [PATCH] fix build on windows --- CMakeLists.txt | 1 + libfreefare/CMakeLists.txt | 1 + 2 files changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2a8ca8b..a3cb9bf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -18,6 +18,7 @@ ENDIF(WIN32) if(MINGW) # force MinGW-w64 in 32bit mode add_definitions("-m32") + add_definitions("-DNOCRYPT") set(CMAKE_SHARED_LINKER_FLAGS -m32) set(CMAKE_EXE_LINKER_FLAGS -m32) endif(MINGW) diff --git a/libfreefare/CMakeLists.txt b/libfreefare/CMakeLists.txt index 35ce4b7..a818aa0 100644 --- a/libfreefare/CMakeLists.txt +++ b/libfreefare/CMakeLists.txt @@ -1,4 +1,5 @@ set(LIBRARY_SOURCES + felica freefare freefare_internal mad