<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div>In VS you can<br><br>ignore a specific library:<br>Project -&gt; Properties -&gt; Linker -&gt; Input -&gt; Ignore Specific Libraries<br><br>for a lib target add your own dependencies with directory:<br>Project -&gt; Properties -&gt; Librarian -&gt; Additional Dependencies<br>Project -&gt; Properties -&gt; Librarian -&gt; Additional Library Directories<br><br>Is there a way to do these in cmake ?&nbsp; For the second thing I tried:<br><br>find_library(jpg NAMES "jpeg-v6" PATHS "${MYPATH}/lib" NO_DEFAULT_PATH)<br>target_link_libraries(rtf ${jpg})<br><br>I can't seem to find anything on the first problem.<br><br>&gt; A.M.<br></div></div><br>



      <hr size=1>
Sent from <a  
href="http://uk.docs.yahoo.com/nowyoucan.html" target=_blank>Yahoo! Mail</a>.
<br>
A Smarter Inbox.</body></html>