Codebase list libfreefare / 2a33e28
Add workaround for libusb while using CMake. Romuald Conty 14 years ago
1 changed file(s) with 5 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
5555 ADD_DEFINITIONS(-DDEBUG -g3)
5656 ENDIF(LIBNFC_DEBUG_OUTPUT)
5757
58 # CMake have config.h generation, so we must define this
5859 ADD_DEFINITIONS("-DHAVE_CONFIG_H")
5960
61 # Make sure we will not miss some warnings ;)
6062 ADD_DEFINITIONS(-Wall -pedantic -std=c99)
63
64 # Workarounds for libusb in C99
65 ADD_DEFINITIONS(-Du_int8_t=uint8_t -Du_int16_t=uint16_t)
6166
6267 IF(NOT MSVC)
6368 # Set some pkg-config variables