Hi,<div><br></div><div>I am using include_external_msproject() to add my Intel Threading Building Blocks MSVC project file (that have been converted from VS200x to VS2012 through a script).</div><div>All is fine, I see the converted project in my solution with no problem.</div>
<div>However, when I add the project in the target links of a project, I get the following error:</div><div><br></div><div>================</div><div><br></div>CMake Error at _cmake/NetRushProjectsMacros.cmake:93 (target_link_libraries):<br>
<br>Target "tbb" of type UTILITY may not be linked into another target. One<br><br>may link only to STATIC or SHARED libraries, or to executables with the<br><br>ENABLE_EXPORTS property set.<br><br><div><br></div>
<div>================
</div><div><br></div><div>I have no Idea how to fix this. Any suggestions? </div><div><br></div><div>I note that I do the same process with google protobuf msvc projects (to see them in my solution) but it doesn't cause any problem at all.</div>
<div>So I suppose something is wrong with the conversion or the original project file, but I don't understand at all this error...</div><div><br></div><div>Thanks for your attention.</div><div><br></div><div>Klaim / Joël Lamotte.</div>