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
       )

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
       )


-- 
Erk
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org
--

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