[CMake] determining which system headerfile provides a given function
Alexander Neundorf
a.neundorf-work at gmx.net
Sat Jun 13 16:26:12 EDT 2015
On Wednesday, June 10, 2015 01:32:21 René J. V. Bertin wrote:
> Ok, let me rephrase the question to see what other kind of constructive
> answers that'll lead to:
>
> how does one check which header file provides the prototype for a function
> from the system libraries? Function in question: reallocf; can apparently
> be in either stdlib.h or bsd/stdlib.h .
did you try check_symbol_exists() and the other similar functions ?
Alex
More information about the CMake
mailing list