What is wrong with explicitly specifying the non-standard locations up front so that FIND_PACKAGE has nothing to do? In other words, prime all the relevant cache variables with the non-standard locations.
There are many Find* scripts in the CMake Modules directory. I think it would be difficult to make a blanket recommendation concerning all of them that would be true 100% of the time with FIND_PACKAGE. Are there specific packages you are having difficulty with? On 11/19/07, Stephen Collyer <[EMAIL PROTECTED]> wrote: > > This would seem to be a very frequently asked question > but I can't find it anywhere in the wiki or FAQ: > how do I tell FIND_PACKAGE to search on additional paths > to the default set, so I can work with packages installed > in non-standard locations ? > > -- > Regards > > Steve Collyer > Netspinner Ltd > _______________________________________________ > CMake mailing list > [email protected] > http://www.cmake.org/mailman/listinfo/cmake >
_______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
