On Nov 19, 2007 9:00 AM, Mike Jackson <[EMAIL PROTECTED]> wrote: > > The important part is that I am looking for an environment variable to help > find the paths/libraries. This type of thing could be added the the > FindXXX.cmake files so if someone has their libs installed in non-standard > locations they can set an env variable and let cmake find the package that > way.
That makes sense if the library in question has a standard environment variable convention. Otherwise, this isn't CMake's job. Dealing with environmental pollution is a nightmare. -NOTFOUND is a much better result than "found weird library that user forgot about that isn't even compiled for the correct runtime." Realize, Windows is the platform you're probably looking for this stuff. Keeping MSVC, Cygwin, and MinGW build environments separate from each other is a PITA. Cheers, Brandon Van Every _______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
