[CMake] FindMKL.cmake

Robert Bielik robert.bielik at xponaut.se
Wed Feb 9 09:15:20 EST 2011


David Cole skrev 2011-02-09 14:31:
>     Is there some way I can make file(GLOB_RECURSE... ) start at a directory of my choice (instead of the current CMakeLists.txt folder) ?
>
>
> file(GLOB_RECURSE .... "${dir}/*")

Yes, and that will return file names. Would be nice to have a directive CMAKE_DIRECTORIES_ONLY to only return globbed paths...

>
> None of the find_* commands do recursion...

...which then could be fed to find_*

/Rob


More information about the CMake mailing list