1 include(CheckCXXSourceCompiles)
4 check_cxx_source_compiles(
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; }
14 CHECK_TYPE_SIZE("void*" SIZEOF_VOID_P)
15 message(STATUS "Size of void* is ${SIZEOF_VOID_P}")