[CMake] need two compilation to achieve success

eial at cs.bgu.ac.il eial at cs.bgu.ac.il
Mon Jun 1 13:44:42 EDT 2009


On Mon 01 Jun 15:28 2009 Bill Hoffman wrote:
> eial at cs.bgu.ac.il wrote:
> > On Mon 01 Jun 8:18 2009 Tyler Roscoe wrote:
> 
> > 
> > thanks for the tip, it solved the issue.
> > 
> > 
> 
> I am glad that worked for you but something else is wrong...  How are 
> you linking bin/libs/libAgathaUtils.so' to `bin/AgathaHud' ?  You should 
> have something like:
> 
> target_link_libraries(AgathaHud AgathaUtils)
> 
> That should add the dependency for you.   Do you have that?
> 
> -Bill
> 

I have this:
TARGET_LINK_LIBRARIES(AgathaHud ${LIBRARY_OUTPUT_PATH}/libAgathaUtils.so 
                                ${LIBRARY_OUTPUT_PATH}/libAgathaEngine.so
                                ${LIBRARY_OUTPUT_PATH}/libAgathaThreads.so
                                cv
                                PocoXML
                                PocoFoundation
                                AR
                                ARMulti
                                ARvideo)





More information about the CMake mailing list