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...
As you can see find_package is not needed in this case. Greetings On 01/03/2008, Andreas Schneider <[EMAIL PROTECTED]> wrote: > 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 > > > > _______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
