On 30.07.14 23:33, Frank Thommen wrote: > On 07/30/2014 08:35 PM, Ben Webb wrote: >> On 07/30/2014 02:08 AM, Frank Thommen wrote: >>> as usual when it comes to cmake I'm running into troubles, as many of >>> our packages are installed in non-standard locations and I don't seem to >>> be able to configure cmake correctly for those dependencies. >> >> The standard way (not IMP specific) to do that in cmake is by setting >> CMAKE_INCLUDE_PATH and CMAKE_LIBRARY_PATH, as per >> http://www.cmake.org/Wiki/CMake_Useful_Variables - did you try that? >> >> Ben > > > Hmm no, but good point. I was somewhat fixated on finding > package-specific settings so that I forgot about the generic ones. Will > try them tomorrow and let you know if it worked.
It seems to work when setting the environment variable CMAKE_PREFIX_PATH=path1:path2, but not with -DCMAKE_PREFIX_PATH=path1:path2 (multiple dependencies in non-standard locations).
However basically the dependencies are now found. Thanks for opening my eyes :-)
frank