That was it! Great stuff! Thank you for the help Johannes and Rolf!
On Thu, Feb 6, 2014 at 12:46 PM, Johannes Zarl 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 b
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/l
Thanks! I tried that, but it still finds the system library. Here's my test
setup:
% cd /tmp
% mkdir myjpeg myproj
% cd myjpeg
% mkdir lib include
% cd /usr/lib
% cp libjpeg.* /tmp/myjpeg/lib/
% cd /usr/include
% cp jpeglib.h /tmp/myjpeg/include/
% cd /tmp/myproj
% cat << EOF > CMakeLists.txt
cma
Am 06.02.2014 13:02, schrieb Ramin Kamal:
Hi,
I'm trying to build an open source package (openimageio, if it matters)
and
would like to have cmake use a specific build of the jpeg library for
that
project. It looks like the jpeg library that's used is determined in
the
line:
find_package (J
Hi,
I'm trying to build an open source package (openimageio, if it matters) and
would like to have cmake use a specific build of the jpeg library for that
project. It looks like the jpeg library that's used is determined in the
line:
find_package (JPEG REQUIRED)
So I'd like to modify the behavio