[CMake] CHECK_FUNCTION_EXISTS question

2008-04-22 Thread Mathieu Malaterre
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

Re: [CMake] CHECK_FUNCTION_EXISTS question

2008-04-22 Thread Eric Noulard
2008/4/22, Mathieu Malaterre [EMAIL PROTECTED]: 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