Would it solve my problem if (in my case) I set HAS_UUID_H to NOTFOUND?
On 02/03/2008, Bill Hoffman <[EMAIL PROTECTED]> wrote: > Steven Van Ingelgem wrote: > > The use case here is more like: > > > > - run CMake: > > > > check_include_file(uuid/uuid.h HAS_UUID_H) > > if(not HAS_UUID_H) --> Fatal error + help how to resolve it. > > > > - resolve the problem > > > > - re-run CMake. > > > > > > > find_path might be a better choice in this case as that is what it was > designed to do. check_include_file uses the compiler, in the test is > only done once as it would make configure checks very slow if every not > found .h file was re-found every time cmake ran. For find_path if it is > not found the variable will get put in the cache with a value of > NOTFOUND. As long as it is NOTFOUND CMake will keep looking each time > it is run. > > > -Bill > _______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
