Sorry, that should be:

link_directories(${CMAKE_LIBRARY_OUTPUT_DIRECTORY})


Also, are you having CMake build all these dependent libraries? If so then you can use the the invocation of target_link_libraries with just the names of the targets(AgathaHUD).

IF those dependent libraries are already installed to the system or otherwise built by another build system then you will need to use "find_library()" calls to properly located each library.

---
Mike Jackson                 www.bluequartz.net



On Jun 3, 2009, at 3:36 PM, e...@cs.bgu.ac.il wrote:

link_libraries(${CMAKE_LIBRARY_OUTPUT_DIRECTORY})

_______________________________________________
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