[CMake] LINK_DIRECTORIES gives errors

abhijeet mhatre abhijeetmhatre at yahoo.com
Thu May 31 01:09:26 EDT 2007


>Actually, it is trying to say that target "HelloWorld" is not built by 
>the project.   The TARGET_LINK_LIBRARIES command must come AFTER the 
>ADD_EXECUTABLE command so that cmake will know what the target is.

Hey Thanks Bill and Vitor.
It works perfectly now.


       
---------------------------------
Luggage? GPS? Comic books? 
Check out fitting  gifts for grads at Yahoo! Search.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20070530/25d18eb5/attachment.htm


More information about the CMake mailing list