[CMake] FindMKL.cmake

Robert Bielik robert.bielik at xponaut.se
Wed Feb 9 10:41:38 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()

Hmm... doesn't work. find(...) doesn't return directories, only files... :(

/Rob


More information about the CMake mailing list