cmake: Add missing checks include files.

This resolves FTBFS on big-endian architectures.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/3/head
Slávek Banko 5 years ago
parent faf56a2716
commit 918bb20937
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -28,6 +28,9 @@ endif( WITH_GCC_VISIBILITY )
##### check for headers
check_include_file( "slapi-plugin.h" HAVE_SLAPI_PLUGIN_H )
check_include_file( "sys/bitypes.h" HAVE_SYS_BITYPES_H )
check_include_file( "sys/types.h" HAVE_SYS_TYPES_H )
check_include_file( "stdint.h" HAVE_STDINT_H )
##### check for ldap

@ -10,6 +10,15 @@
/* Defined to 1 if you have the <slapi-plugin.h> header */
#cmakedefine HAVE_SLAPI_PLUGIN_H @HAVE_SLAPI_PLUGIN_H@
/* Debian to 1 if you have the <sys/bitypes.h> header */
#cmakedefine HAVE_SYS_BITYPES_H 1
/* Debian to 1 if you have the <sys/types.h> header */
#cmakedefine HAVE_SYS_TYPES_H 1
/* Debian to 1 if you have the <stdint.h> header */
#cmakedefine HAVE_STDINT_H 1
/* Path for the config system */
#cmakedefine KDE_CONFDIR "@KDE_CONFDIR@"

Loading…
Cancel
Save