[CMake] Specifying search path for FIND_PACKAGE

Brad King brad.king at kitware.com
Fri Nov 11 20:18:00 EST 2005


Amit Ramesh wrote:
>     IMHO it would be nicer to have a CMake variable that contains  the 
> paths to search for packages, rather than specifically include / sw for 
> Macs. It is always possible that different people might use  different 
> conventions as to where they would like to install  packages. For 
> example, on unix systems apart from  /usr  and /usr/ local, sometimes 
> /opt is used for some utilities. Similarly on the  Mac /opt is where 
> Darwin ports are installed while /sw is used by Fink.

Having a standard variable listed in the paths used by all Find* modules 
is a good idea.  Please submit a feature request here:

http://www.cmake.org/Bug

-Brad


More information about the CMake mailing list