[CMake] check_include_file macro

Bill Hoffman bill.hoffman at kitware.com
Sun Mar 2 11:42:20 EST 2008


Steven Van Ingelgem wrote:
> Would it solve my problem if (in my case) I set HAS_UUID_H to NOTFOUND?
> 

No, I could not find a way to remove or change the cache entry.  If you 
want to use a compiler check like this, you option would be to copy the 
check_include_file macro into your project and change the outer if logic 
to handle the notfound case.  find_path should just work.

-Bill


More information about the CMake mailing list