Review Request: Attica will not be found if installed under /usr/local/

Andreas Pakulat apaku at gmx.de
Sun Sep 19 18:58:10 BST 2010


On 19.09.10 17:08:26, Guy Maurel wrote:
> 
> 
> > On 2010-09-17 18:52:17, Alexander Neundorf wrote:
> > > /usr/local is part of the default search directories, so it should be found if installed there.
> > > I just tested this here locally and it works for me.
> > > 
> > > If it is not found when installed in /usr/local/, then we have to check what is going wrong there.
> > > 
> > > Alex
> 
> mmmh!
> I found at http://www.kitware.com/news/home/browse/168:
> "FIND_LIBRARY and FIND_PATH now look in CMAKE_LIBRARY_PATH and CMAKE_INCLUDE_PATH environment variables in addition to and before the PATH environment variable. "
> It is what I need, but nothing about a default value for CMAKE_LIBRARY_PATH and CMAKE_INCLUDE_PATH
> Is it something the user *has* to do itself before running?

man cmake, find_library search order is defined there, among the places
is CMAKE_SYSTEM_PREFIX_PATH which is set by CMake's platform files. And
those add /usr/local to the list of CMAKE_SYSTEM_PREFIX'es on *nix.

Andreas

-- 
You should go home.




More information about the kde-core-devel mailing list