[CMake] check_include_file macro

Andreas Schneider mail at cynapses.org
Sat Mar 1 09:22:06 EST 2008


Steven Van Ingelgem wrote:
> Hi,
> 

Hi,

> 
> I'm testing with the "check_include_file" macro but I have an issue with it.
> I need it to stop working if the include file is not found, and
> re-check the next time it is ran...
> 

normally check_include_file is to check for standard include files like
stdint.h and add it to a config.h file.

> But how can I achieve that? Because the behaviour I got is that it
> runs but doesn't re-check anymore...
> 

I think you want to write a find module which is used by 'find_package'.

> 
> Thanks for any pointers


	-- andreas

-- 
http://www.cynapses.org/ - cybernetic synapses


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
Url : http://public.kitware.com/pipermail/cmake/attachments/20080301/ab96932e/signature.pgp


More information about the CMake mailing list