<div class="gmail_quote">On Wed, Jan 14, 2009 at 11:23 PM, Michael Jackson <span dir="ltr"><<a href="mailto:mike.jackson@bluequartz.net">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>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 )<br>
<br>
This is exactly what you asked me to do I believe. <br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
BTW - TBB is a Framework on OS X, just in case you plan to use it or release the FindTBB.cmake file to the community (if you are allowed).</blockquote><div><br>I'm not sure what a framework is in CMake nor how to handle them. I have yet to investigate & learn about this. I eventually do plan to release this to the community, however I have a lot of learning left to do. I want to make sure this find module works perfectly.<br>
</div></div><br>