[CMake] find_path() and directories

Clinton Stimpson clinton at elemtech.com
Tue Jul 6 16:27:55 EDT 2010


Can find_path() be used to find a directory containing a directory or 
directories?

For example:
find_path(MY_DIR NAMES subdir)

It seems to work on Linux, but the docs say it is for finding directories 
containing "files."

Thanks,
Clint


More information about the CMake mailing list