&quot;file(GLOB&quot; with globbing expression of &quot;*&quot;&nbsp;and then iterate the results and ask &quot;if(IS_DIRECTORY&quot; on each result...<div><br><br><div class="gmail_quote">On Tue, Dec 9, 2008 at 1:15 PM, Robert Dailey <span dir="ltr">&lt;<a href="mailto:rcdailey@gmail.com">rcdailey@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">How would I use file( GLOB ) to get a list of directories instead of files?<br>
<br>_______________________________________________<br>
CMake mailing list<br>
<a href="mailto:CMake@cmake.org">CMake@cmake.org</a><br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br></blockquote></div><br></div>