[CMake] How to catch CMake Error get_directory_property
Marcel Loose
loose at astron.nl
Mon Aug 10 11:46:53 EDT 2009
Hi all,
Is there a way to catch the CMake Error 'get_directory_property' when
requesting a property from a directory that has not yet been processed
by CMake.
I need to do this, because, in my situation, it is not an error if one
or more directories are not present (i.e. checked out). I would like
get_directory_property() to return FALSE or NOTFOUND when it cannot find
the requested directory, so that I can take appropriate action myself.
Is that somehow possible?
Best regards,
Marcel Loose.
More information about the CMake
mailing list