<div class="gmail_quote">On Thu, Jan 15, 2009 at 1:29 AM, Robert Dailey <span dir="ltr"><<a href="mailto:rcdailey@gmail.com">rcdailey@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="gmail_quote"><div class="Ih2E3d">On Wed, Jan 14, 2009 at 11:23 PM, Michael Jackson <span dir="ltr"><<a href="mailto:mike.jackson@bluequartz.net" target="_blank">mike.jackson@bluequartz.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I would try the following just to make sure it will find the library:<br>
<br>
find_library(TBB_LIBRARY<br>
NAMES tbb<br>
PATHS <tbb_rootdirectory>/ai32/vc9/lib )<br>
<br>
Substitute the proper full path for <tbb_rootdirectory> in the path above.<br>
<br>
Run CMake and see if the TBB_LIBRARY gets found. If it does get found by CMake then start breaking the path into parts based on which compiler is being used.</blockquote><div> </div></div><div>Interesting. It fails when I do this:<br>
<br>
find_library( TBB_LIBRARY NAMES tbb PATHS C:/IT/work/planb/third_party/tbb/21_20080605oss/ai32/vc9/lib )</div></div></blockquote><div><br>Double check your file path?<br>Double check your file permissions?<br>Try it in a separate CMakeLists.txt?<br>
</div></div><br>-- <br>Philip Lowman<br>