More verbose debug message
[supertux.git] / mk / cmake / ConfigureChecks.cmake
1 include(CheckCXXSourceCompiles)
2 include(CheckTypeSize)
3
4 check_cxx_source_compiles(
5         "
6         #include <iconv.h>
7         // this declaration will fail when there already exists a non const char** version which returns size_t
8         double iconv(iconv_t cd,  char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft);
9         int main() { return 0; }
10         "
11         HAVE_ICONV_CONST
12 )
13
14 CHECK_TYPE_SIZE("void*" SIZEOF_VOID_P)
15 message(STATUS "Size of void* is ${SIZEOF_VOID_P}")
16