Re: [CMake] Find Library would not find the library

2011-03-11 Thread Michael Hertling
On 03/10/2011 12:25 AM, Andreas Pakulat wrote: > On 09.03.11 21:36:25, Ankur Handa wrote: >> I'm using find_library to find a library in a given directory but it has >> many different versions of this library listed as libcxcore.so, >> libcxcore.so.2.1 and libcxcore.so.2.1.0 I wrote a very simple

Re: [CMake] Find Library would not find the library

2011-03-09 Thread Yuri Timenkov
Hi Ankur, May be you're just missing -devel or -dev pacakges on your system? They usually provide a symlink from .so to .so.X.Y to allow ld or gcc find the correct library. Or do you really have multiple libraries versions installed simultaneously, each with headers? On Thu, Mar 10, 2011 at 2:25

Re: [CMake] Find Library would not find the library

2011-03-09 Thread Andreas Pakulat
On 09.03.11 21:36:25, Ankur Handa wrote: > I'm using find_library to find a library in a given directory but it has > many different versions of this library listed as libcxcore.so, > libcxcore.so.2.1 and libcxcore.so.2.1.0 I wrote a very simple cmake file > > cmake_minimum_required(VERSION 2.8)

[CMake] Find Library would not find the library

2011-03-09 Thread Ankur Handa
Hi everyone, I'm using find_library to find a library in a given directory but it has many different versions of this library listed as libcxcore.so, libcxcore.so.2.1 and libcxcore.so.2.1.0 I wrote a very simple cmake file cmake_minimum_required(VERSION 2.8) find_library(OpenCV_LIBRARY_RELEASE