[CMake] Trouble finding libjpeg package on ubuntu

Aaron Boxer boxerab at gmail.com
Sun May 28 21:37:55 EDT 2017


Hello,
I would like cmake to find the libjpeg installation on my ubuntu system.

I have the

find_package(jpeg) line in my cmake file, and this works on windows, but on
Ubuntu with libjpeg-turbo installed, it can't find it.

Here is a list of the install directories for the libjpeg-turbo8-dev
package:

/.
/usr
/usr/include
/usr/include/turbojpeg.h
/usr/include/jerror.h
/usr/include/x86_64-linux-gnu
/usr/include/x86_64-linux-gnu/jconfig.h
/usr/include/jmorecfg.h
/usr/include/jpegint.h
/usr/include/jpeglib.h
/usr/share
/usr/share/doc
/usr/share/doc/libjpeg-turbo8-dev
/usr/share/doc/libjpeg-turbo8-dev/copyright
/usr/share/doc/libjpeg-turbo8-dev/libjpeg.txt.gz
/usr/share/doc/libjpeg-turbo8-dev/structure.txt.gz
/usr/share/doc/libjpeg-turbo8-dev/README.gz
/usr/share/doc/libjpeg-turbo8-dev/README-turbo.txt.gz
/usr/lib
/usr/lib/x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu/libturbojpeg.a
/usr/lib/x86_64-linux-gnu/libjpeg.a
/usr/lib/x86_64-linux-gnu/pkgconfig


Any help would be greatly appreciated.

Thanks!

Aaron
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20170528/7b59b1bd/attachment.html>


More information about the CMake mailing list