libfreefare/cmake/config_posix.h.cmake
Stefan Walkner 565ee18b8e Fix build with CMake
- Fix library finding ('nfc' instead of 'libnfc');
- Generate config.h from template on non-win32 platforms;
- While here, include protection for config.h in several files.
2017-04-24 09:35:08 +02:00

13 lines
369 B
CMake

#ifndef __CONFIG_POSIX_H__
#define __CONFIG_POSIX_H__
#cmakedefine _XOPEN_SOURCE @_XOPEN_SOURCE@
#cmakedefine HAVE_SYS_ENDIAN_H @_HAVE_SYS_ENDIAN_H@
#cmakedefine HAVE_ENDIAN_H @_HAVE_ENDIAN_H@
#cmakedefine HAVE_BYTESWAP_H @_HAVE_BYTESWAP_H@
#cmakedefine HAVE_COREFOUNDATION_COREFOUNDATION_H @_HAVE_COREFOUNDATION_COREFOUNDATION_H@
#endif /* !__CONFIG_POSIX_H__ */