Hi, Am Dienstag, 26. Juni 2012 schrieb Ateljevich, Eli :
> Hi Andreas, > Thanks. This must be what is happening. The references I saw to > CMAKE_PREFIX_PATH suggested it was environment-only and needs to be known > "at cmake time". That didn't fit my needs well and even though it seemed > funny I never challenged that. > > You are suggesting it can be set in cmake which I'll try. It would solve > my issues, though my experience with customizing of this type is it needs > to be done at the right moment in the cmake process which isn't always > clear. Is there going to be a lot of extra stuff on CMAKE_PREFIX_PATH and I > need to be appending? Well, you just need to set it before the corresponding find_* calls, usually this is supposed to be done on the cmake commandline via -DCMAKE_PREFIX_PATH=... Since the actual path to be used is usually user-specific and hence for everybody needing it. Andreas
-- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
