<div class="gmail_quote">On Thu, Jan 15, 2009 at 4:03 AM, Hendrik Sattler <span dir="ltr"><<a href="mailto:post@hendrik-sattler.de">post@hendrik-sattler.de</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;">
It is kind of odd to test for the generator when the choice in fact depends on<br>
the compiler! What about e.g. Nmake?</blockquote><div><br>Well the TBB libraries are set up in such a way that they depend on
specific versions of Visual Studio. How can I check for the compiler
since this seems to be the correct way of doing this?<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;">You miss the find 'lib' path suffix here:<br>
find_library( TBB_LIBRARY tbb PATH_SUFFIXES ${TBB_PATH_SUFFIX}/lib )</blockquote><div><br>Yes, this was one of the issues. I assumed that find_library would append /lib for me when I specify PATH_SUFFIXES, however now I know that it does not and I must do it manually.<br>
<br>Turns out the real issue was that I had the path wrong. In the part of the path that read /ai32/, it should have been /ia32/.</div></div><br>