[CMake] FindMKL.cmake

Robert Bielik robert.bielik at xponaut.se
Wed Feb 9 10:34:43 EST 2011


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


More information about the CMake mailing list