On Sun, 2012-01-15 at 12:54 +0100, Eric Noulard wrote:
> 2012/1/15 Matthias Fulz <[email protected]>:
> > It's working now - just had a typo inside the names.
> 
> ok fine.
> Just in case the "link_directories" call
> 
> link_directories(
>        ${CMAKE_BINARY_DIR}/src/testlib
>        )
> 
Thank you for this hint, didn't know that I don't this.

is as stated by the documentation "rarely necessary."

> is as stated by the documentation "rarely necessary."
> and surely NOT necessary in your case.
> The target_link_libraries command should makes it
> possible to find the absolute path to the libraries.
> 
> This one is OK:
> include_directories(
>        ${CMAKE_SOURCE_DIR}/src/testlib
>        )
> 
> 
Yes without that one, my programs weren't able to find
the headers without using full / relative paths.

Thank you


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