Re: [CMake] Testing for time.h on various platforms

2008-04-07 Thread Amitha Perera
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 were on others it is just . Does FIND_FILE not do the trick? You could write out the result to some configu

Re: [CMake] Testing for time.h on various platforms

2008-04-05 Thread Hendrik Sattler
Am Freitag 04 April 2008 schrieb Mike Jackson: > 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 were on others it is just > . Should I create some cmake code to test each one

[CMake] Testing for time.h on various platforms

2008-04-04 Thread Mike Jackson
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 were on others it is just . Should I create some cmake code to test each one individually? or is there a more common/scalable approa