Is there a way to discover if a path is a relative path or not?<br><br>I need to make sure that all paths are absolute for a given application, and I can be given either relative or absolute paths to files.  If I&#39;m given a relative path I want to prepend ${CMAKE_CURRENT_SOURCE_DIR} to make it absolute, but if it&#39;s already absolute, I don&#39;t want to add anything.<br>
<br>Thanks,<br>James<br>