Re: [CMake] Problem with CHECK_FUNCTION_EXISTS and strcasecmp

2010-03-14 Thread Michael Wild
On 03/13/2010 01:03 PM, Mateusz Loskot wrote: Michael Surette wrote: I am updating the CMake build files for a cross-platform project. One of the tests is for strcasecmp for which I use CHECK_FUNCTION_EXISTS. If it's not found the code generates its own function by that name. This

Re: [CMake] Problem with CHECK_FUNCTION_EXISTS and strcasecmp

2010-03-14 Thread Michael Surette
On 03/14/2010 06:14 AM, Michael Wild wrote: On 03/13/2010 01:03 PM, Mateusz Loskot wrote: Michael Surette wrote: I am updating the CMake build files for a cross-platform project. One of the tests is for strcasecmp for which I use CHECK_FUNCTION_EXISTS. If it's not found the code generates

[CMake] Problem with CHECK_FUNCTION_EXISTS and strcasecmp

2010-03-13 Thread Michael Surette
I am updating the CMake build files for a cross-platform project. One of the tests is for strcasecmp for which I use CHECK_FUNCTION_EXISTS. If it's not found the code generates its own function by that name. This works well with GCC under Linux, including cross-compiling with MinGW, as well

Re: [CMake] Problem with CHECK_FUNCTION_EXISTS and strcasecmp

2010-03-13 Thread Mateusz Loskot
Michael Surette wrote: I am updating the CMake build files for a cross-platform project. One of the tests is for strcasecmp for which I use CHECK_FUNCTION_EXISTS. If it's not found the code generates its own function by that name. This works well with GCC under Linux, including