On 30.01.11 19:14:50, Avanindra Singh wrote:
> Hi All,
> 
> I have a cmake project currently on UNIX plaform. When I run the project,
> some of the codes of Qt try to link jpeg lib which I have built as static
> lib under the project. Ideally it should reference
> Qt's own jpeg library. How can I avoid this conflict?

This does not really have anything to do with CMake, you just need to
link your Qt against that static jpeg lib. Look at compiling in the
image plugins statically into Qt, I'm not sure though wether this will
really link against a static jpeg lib.

Andreas

-- 
You're definitely on their list.  The question to ask next is what list it is.
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to