<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2715.400" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=850563314-21012003><FONT size=2>We just stumbled across an
issue that I think is related to the automated library dependency
checks. </FONT></SPAN></DIV>
<DIV><SPAN class=850563314-21012003></SPAN> </DIV>
<DIV><SPAN class=850563314-21012003><FONT size=2>It looks as though when library
A links against library B, that CMake also links library A
against everything that library B linked against. This saves the
library writer from tracking down and maintaining all the library
dependencies.</FONT></SPAN></DIV>
<DIV><SPAN class=850563314-21012003></SPAN> </DIV>
<DIV><SPAN class=850563314-21012003><FONT size=2>What does not seem to
be happening automatically is the propagation of the
LINK_DIRECTORIES that were used to build library B into the
LINK_DIRECTORIES that are needed for library A. So if library B uses
an external package, library A will also link to that external
package but it won't know where to find that external package. (I assume
this is only a problem when library A is not in a subdirectory of library
B).</FONT></SPAN></DIV>
<DIV><SPAN class=850563314-21012003></SPAN> </DIV>
<DIV><SPAN class=850563314-21012003><FONT size=2>Should the LINK_DIRECTORIES
also be propagated from library B to library A. It is
basically the same argument for why the link libraries are propagated from
library B to library A.</FONT></SPAN></DIV>
<DIV><SPAN class=850563314-21012003></SPAN><FONT size=2></FONT> </DIV>
<DIV class=Section1>
<P style="MARGIN: 0in 0in 0pt"><B><SPAN
style="COLOR: navy; FONT-FAMILY: 'Comic Sans MS'">Jim Miller</SPAN></B>
<BR><B><I><SPAN
style="FONT-SIZE: 10pt; COLOR: red; FONT-FAMILY: Arial">_____________________________________</SPAN></I></B><BR><EM><SPAN
style="FONT-SIZE: 7.5pt; COLOR: black; FONT-FAMILY: Arial">Visualization &
Computer Vision</SPAN></EM><I><SPAN
style="FONT-SIZE: 7.5pt; COLOR: black; FONT-FAMILY: Arial"><BR><EM>GE
Research</EM><BR><EM>Bldg. KW, Room C218B</EM><BR><EM>P.O. Box 8, Schenectady NY
12301</EM><BR><BR></SPAN></I><EM><U><SPAN
style="FONT-SIZE: 7.5pt; COLOR: blue"><A
href="mailto:millerjv@research.ge.com">millerjv@research.ge.com</A></SPAN></U></EM></P>
<P style="MARGIN: 0in 0in 0pt"><EM><U><SPAN
style="FONT-SIZE: 7.5pt; COLOR: blue">james.miller@research.ge.com</SPAN></U></EM><BR><I><SPAN
style="FONT-SIZE: 7.5pt; COLOR: black; FONT-FAMILY: Arial">(518) 387-4005, Dial
Comm: 8*833-4005, </SPAN></I><BR><I><SPAN
style="FONT-SIZE: 7.5pt; COLOR: black; FONT-FAMILY: Arial">Cell: (518) 505-7065,
Fax: (518) 387-6981</SPAN></I> </P>
<P class=MsoNormal> <?xml:namespace prefix = o ns =
"urn:schemas-microsoft-com:office:office" /><o:p></o:p></P></DIV>
<DIV> </DIV></BODY></HTML>