David Cole skrev 2011-02-09 16:32: > You can iterate the returned list something like this to accumulate just directory names: > > set(dirs "") > foreach(f ${glob_results}) > if(IS_DIRECTORY "${f}") > set(dirs ${dirs} ${f}) > endif() > endforeach() Hmm... doesn't work. find(...) doesn't return directories, only files... :( /Rob