[CMake] need two compilation to achieve success

Michael Jackson mike.jackson at bluequartz.net
Wed Jun 3 15:51:52 EDT 2009


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, eial at cs.bgu.ac.il wrote:

>> link_libraries(${CMAKE_LIBRARY_OUTPUT_DIRECTORY})



More information about the CMake mailing list