[CMake] FIND_PATH and FIND_LIB

Brad King brad.king at kitware.com
Mon May 16 13:22:37 EDT 2005


Shishir Ramam wrote:
> Is there a way to make FIND_PATH and FIND_LIB to look recursively into a
> directory speficied in the path? Using 
> FIND_LIBRARY(MY_LIBRARY_PATH NAMES mylib PATHS C:/MybaseDir/*)
> doesn't seem to look more than one subdir deep. In my case, the directory 
> structure is deeper than that. 

Right now all you can do is try

c:/foo/*
c:/foo/*/*
c:/foo/*/*/*
...

Meanwhile you can add a feature request to the bug tracker:

http://www.cmake.org/Bug

-Brad


More information about the CMake mailing list