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 (JPEG REQUIRED)
So I'd like to modify the behaviour of that command so that it finds
the
lib and include files that I've custom built at, say,
/myjpeg/lib/libjpeg.a, etc
Is there an easy way to do this? I would prefer if I could guarantee
that
it doesn't pick up the system libjpeg.a file.
cmake -D CMAKE_PREFIX_PATH=/opt/special_jpeg ...
Eike
--
--
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