On Wednesday 04 August 2010 09:06:06 Denis Scherbakov wrote:
> >> * I also
set link_directories to paths containing the libraries.
> 
> This is wrong.
LINK_DIRECTORIES should be a list of directories, where
> libraries might be
located, but not the libraries itself.
Er, sorry, I meant to paths to
directories containing the libraries:

link_directories(${QT_LIBRARY_DIR}
${GLU_LIBRARY_DIR} ${OPENMESH_LIBRARY_DIR} ${BOOST_LIBRARY_DIR}
${VIRTUOSE_LIBRARY_DIR})

In fact most of these directories are empty,
except for the Qt and Boost paths. (Still these two are linked two
times.)


Brings me to another question:
Is it possible to get the path to
the library from find_library?

--Dennis

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
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