[CMake] check_include_file macro

Philip Lowman philip at yhbt.com
Sat Mar 1 11:44:42 EST 2008


On Sat, Mar 1, 2008 at 10:09 AM, Steven Van Ingelgem <steven at vaningelgem.be>
wrote:

> In fact what I want is "check_include_file( uuid/uuid.h HAS_UUID_H )".
> Where this check is a "blocking check" (in other words, cmake will
> stop processing the cmakelists.txt)... The next time it should
> re-check the include file...


I don't know if there is a way to do this in CMake code but one thing you
can do is open up CMakeCache.txt in your build tree and manually delete the
line that says:
HAS_UUID_H:INTERNAL=
This will force the rechecking for the header file.

-- 
Philip Lowman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20080301/823fd980/attachment.html


More information about the CMake mailing list