3MFConsortium/lib3mf
Libraries/libressl/CMakeLists.txt
:197
check_function_exists(reallocarray HAVE_REALLOCARRAY)
check_function_exists(reallocarray HAVE_REALLOCARRAY)
add_definitions(-DHAVE_REALLOCARRAY)
check_function_exists(reallocarray HAVE_REALLOCARRAY)
add_definitions(-DHAVE_REALLOCARRAY)
check_function_exists(reallocarray HAVE_REALLOCARRAY)
check_function_exists(reallocarray HAVE_REALLOCARRAY)
add_definitions(-DHAVE_REALLOCARRAY)
ADD_DEFINITIONS(
"-DLGTD_BIG_ENDIAN_SYSTEM=${BIG_ENDIAN_SYSTEM}"
"-DLGTD_SIZEOF_VOID_P=${CMAKE_SIZEOF_VOID_P}"
"-DLGTD_HAVE_SETPROCTITLE=${HAVE_SETPROCTITLE}"
"-DLGTD_HAVE_REALLOCARRAY=${HAVE_REALLOCARRAY}"
"-DJSMN_STRICT=1"
"-DJSMN_PARENT_LINKS=1"
)
CHECK_FUNCTION_EXISTS("reallocarray" HAVE_REALLOCARRAY)
check_function_exists(reallocarray HAVE_REALLOCARRAY)
check_function_exists(reallocarray HAVE_REALLOCARRAY)
check_symbol_exists(reallocarray "stdlib.h" HAVE_REALLOCARRAY)
add_definitions(-DHAVE_REALLOCARRAY)