Re: [CMake] Problem with pkg_check_modules and imlib2

2011-05-13 Thread David Demelier
On 13/05/2011 11:03, Michael Hertling wrote: On 05/12/2011 10:40 PM, David Demelier wrote: Hello, I have some trouble to link my project to the imlib2 library. The library is installed correctly and a command like : gcc test.c -o test `pkg-config --libs --cflags imlib2` works and link to imli

Re: [CMake] Problem with pkg_check_modules and imlib2

2011-05-13 Thread Michael Hertling
On 05/12/2011 10:40 PM, David Demelier wrote: > Hello, > > I have some trouble to link my project to the imlib2 library. The > library is installed correctly and a command like : > > gcc test.c -o test `pkg-config --libs --cflags imlib2` > > works and link to imlib2. > > I have this CMakeLists

[CMake] Problem with pkg_check_modules and imlib2

2011-05-12 Thread David Demelier
Hello, I have some trouble to link my project to the imlib2 library. The library is installed correctly and a command like : gcc test.c -o test `pkg-config --libs --cflags imlib2` works and link to imlib2. I have this CMakeLists.txt http://markand.malikania.fr/CMakeLists.txt but it does not