[CMake] CHECK_FUNCTION_EXISTS question
Mathieu Malaterre
mathieu.malaterre at gmail.com
Tue Apr 22 10:48:31 EDT 2008
Hi there,
If I understand correctly CHECK_FUNCTION_EXISTS is only checking
that the c symbol passed to the CHECK_FUNCTION_EXISTS macro can be
found by the linker, right ? I have a case where the symbol (namely
_snprintf) can be found, but the C declaration is not found in
cygwin-stdio.h (in which case I need to use snprintf declaration).
Is this correct ? If so is there a way to detect if a function can
be found in a particular header ?
Thanks,
--
Mathieu
More information about the CMake
mailing list