[CMake] Testing for time.h on various platforms
Amitha Perera
amitha-cmake at thepereras.org
Mon Apr 7 14:01:22 EDT 2008
Mike Jackson wrote:
> I am looking for a game plan (or code..) to test for a header file and
> where the "correct" location of that header might be. Seems on some
> systems, time.h should be <sys/time.h> were on others it is just
> <time.h>.
Does FIND_FILE not do the trick? You could write out the result to some
configured file, similar to what Hendrik suggested in a different email.
Amitha.
More information about the CMake
mailing list