Re: [CMake] Problems with using libraries that supercede system libraries

2011-04-11 Thread cheshirekow
> You should set CMAKE_PREFIX_PATH instead of relying on pkgconfig. Then you > can > be sure that cmake will figure out the stuff in a way that it works (i.e. > libraries with full paths). > That worked like a charm. I'm glad there turned out to be a simple solution. > > link_directories( ${

Re: [CMake] Problems with using libraries that supercede system libraries

2011-04-11 Thread Alexander Neundorf
On Monday 11 April 2011, cheshirekow wrote: > I'm pretty new to cmake and I'm trying to port an (early) project with > gtkmm-3.0. The project builds fine with my makefiles, so I know I don't > have errors in the code. I'm running ubuntu lucid so I don't want to > install gtkmm-3.0 (and it's dozen d

[CMake] Problems with using libraries that supercede system libraries

2011-04-11 Thread cheshirekow
I'm pretty new to cmake and I'm trying to port an (early) project with gtkmm-3.0. The project builds fine with my makefiles, so I know I don't have errors in the code. I'm running ubuntu lucid so I don't want to install gtkmm-3.0 (and it's dozen dependencies) in the system locations (/usr, /usr/loc