On Di.,   1. Mai. 2012 00:20:58 CEST, Mourad Boufarguine 
<[email protected]> wrote:

> Hi,
> 
> add this :
> 
> link_directories(${Boost_LIBRARY_DIRS})
> 
> after the include_directories command.

No, please don't. The target_link_libraries command is what you really want. 
Please stop advertising link_directories, it's usage is almost certainly wrong 
and while it sometimes seems to solve your problem it usually just creates 
another one.

Eike 
--

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