Mathieu Malaterre wrote:


-> that's exactly what is driving me nuts, CheckFunctionExists.c is a
5 line c code, it forward declare the function but does not include
*anything*.
That is what concerns me, it does not include anything. It maybe required to include something to find the symbol...

And I can confirm that compilation by hand works:

 /usr/local/bin/gcc.exe  -DCHECK_FUNCTION_EXISTS=UuidCreate   -o foo.o
  -c /usr/share/cmake-2.4.8/Modules/CheckFunctionExists.c

...

Use debug-trycompile.

Then cd into the directory and run make, what is different than what works?

-Bill

_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to