Good Catch Michael, I'll give that a shot<br><br><div class="gmail_quote">On Wed, Jul 7, 2010 at 2:43 AM, Michael Wild <span dir="ltr"><<a href="mailto:themiwi@gmail.com">themiwi@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi all<br>
<br>
I wanted to give the new development package (ParaView-Development-3.8.0-Darwin-x86_64.tar.gz) a try and use it to compile a plugin on my Mac. However, it seems that lib/paraview-3.8/CMake/ParaViewLibraryDepends.cmake contains XXX_LIB_DEPENDS variables referencing libraries from the custom Qt installation used to build the package (/Users/partyd/Dashboards/Support/qt-4.6.2-MacOSX10.5). Of course, none of those Qt libraries can be found...<br>
<br>
As a hack I just unset the offending pqComponents_LIB_DEPENDS and vtkPVServerManager_LIB_DEPENDS variables after including PARAVIEW_USE_FILE. But I suspect this might fail on some operating systems.<br>
<br>
Currently I have no idea how this could be fixed in a good way, since these entries are auto-created by CMake. Perhaps one way would be wrapping TARGET_LINK_LIBRARIES in a custom function that explicitly sets the LINK_INTERFACE_LIBRARIES property, replacing Qt libraries by "\${QT_LIBRARIES}", suitably escaped such that it ends up as ${QT_LIBRARIES} in the ParaViewLibraryDepends.cmake file, expanding to the users installation of Qt when it is included.<br>
<br>
Michael<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
</blockquote></div><br>