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() Yes, not bad. Good idea, thnx. /Rob