[CMake] need two compilation to achieve success

Bill Hoffman bill.hoffman at kitware.com
Wed Jun 3 15:14:35 EDT 2009


eial at cs.bgu.ac.il wrote:

> I've just noticed the suggestion to remove the lib from the
> TARGET_LINK_LIBRARIES entry which I did, that solved the previous
> linking problem but now I get unknown reference to each function or
> var that I use from the external libs. how can I add them without
> adding them to TARGET_LINK_LIBRARIES?
> 
> 

You lost me....


Where are the symbols defined that you are not finding?

Also, please try make VERBOSE=1 to see the link line being used.  Also, 
you will want to use nm and grep to find out where the symbols should be 
found.

-Bill



More information about the CMake mailing list