<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 17, 2014 at 2:04 PM, Nils Gladitz <span dir="ltr"><<a href="mailto:nilsgladitz@gmail.com" target="_blank">nilsgladitz@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="">On 09/17/2014 01:50 PM, Volker Pilipp wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
I did so and found the following strange behaviour<br>
<br>
link_directories(  /opt/XXX/lib ) -> no effect<br>
but<br>
link_directories(  /opt/ ) -> -L/opt (?!)<br>
</blockquote>
<br></span>
Probably the same logic as for target_link_libraries().<br>
E.g. implicit link directories aren't repeated as explicit link directories.</blockquote><div>But it is not an implicit link directory at least not according to the output of <div>"/sbin/ldconfig -p" . What does cmake consider an implicit link directory?</div></div><div><br></div><div>Volker</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class=""><font color="#888888"><br>
<br>
Nils<br>
<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br>**************************************************<br>Volker Pilipp<br>Software & IT Technologies<br><br>DECTRIS Ltd.<br>Neuenhoferstr. 107<br>5400 Baden<br>Switzerland<br><br>+41 56 500 2100 general<br>+41 56 500 2101 fax<br>+41 56 500 2115 direct<br><a href="mailto:volker.pilipp@dectris.com" target="_blank">volker.pilipp@dectris.com</a><br><a href="http://www.dectris.com" target="_blank">www.dectris.com</a><br>**************************************************<br><br>Confidentiality Note<br>This message is intended only for the use of the named recipient(s) <br>and may contain confidential and/or privileged information. If you are<br>not the intended recipient, please contact the sender and delete the <br>message. Any unauthorized use of the information contained in this <br>message is prohibited. 
</div></div>