libfreefare/cmake/config_posix.h.cmake
Romain Tartière 26754f8042 Make CMake emit PACKAGE_VERSION in config.h
This is required for the upcomming freefare_version() function, and
mimics what is produced by the autotools.
2019-01-25 15:20:54 -10:00

19 lines
591 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@
#cmakedefine PACKAGE_NAME "@PACKAGE_NAME@"
#cmakedefine PACKAGE_VERSION "@PACKAGE_VERSION@"
#cmakedefine PACKAGE_STRING "@PACKAGE_STRING@"
#cmakedefine _XOPEN_SOURCE @_XOPEN_SOURCE@
#cmakedefine SYSCONFDIR "@SYSCONFDIR@"
#endif /* !__CONFIG_POSIX_H__ */