[CMake] Overriding found jpeg

Ramin Kamal ramin.kamal at primefocusworld.com
Thu Feb 6 07:59:46 EST 2014


That was it! Great stuff! Thank you for the help Johannes and Rolf!


On Thu, Feb 6, 2014 at 12:46 PM, Johannes Zarl <johannes.zarl at jku.at> wrote:

> On Thursday, 6. February 2014, 13:30:54, Ramin Kamal wrote:
> > Thanks! I tried that, but it still finds the system library. Here's my
> test
> > setup:
>
> I tried with basically the same steps, and it works for me.
>
> >
> > % cd /usr/lib
> > % cp libjpeg.* /tmp/myjpeg/lib/
> > [...]
> > -- Found JPEG: /usr/lib64/libjpeg.so
> > *path is /usr/lib64/libjpeg.so*
>
> I see that you are using the libjpeg.so from /usr/lib for your /tmp/myjpeg
> directory, but the system libjpeg is in /usr/lib64. Could it be that the
> libjpeg in your custom directory is just not compatible? Does the problem
> appear even when you are copying the libjpeg.so from lib64 instead?
>
> Cheers,
>   Johannes
>
> --
>
> Powered by www.kitware.com
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Kitware offers various services to support the CMake community. For more
> information on each offering, please visit:
>
> CMake Support: http://cmake.org/cmake/help/support.html
> CMake Consulting: http://cmake.org/cmake/help/consulting.html
> CMake Training Courses: http://cmake.org/cmake/help/training.html
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20140206/63028bf1/attachment.html>


More information about the CMake mailing list