Hi Mike,<div><br></div><div>There is now an advanced option PARAVIEW_FIXUP_BUNDLE_SEARCH_PATHS that you can append directories for fixup bundle to search.<br><br><div class="gmail_quote">On Thu, Dec 30, 2010 at 3:28 PM, Michael Jackson <span dir="ltr">&lt;<a href="mailto:mike.jackson@bluequartz.net">mike.jackson@bluequartz.net</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">#2 I think would add the most flexibility as I have other libraries that I also need to get included in the install.<br>


<br>
#1- You are right of course. In my case (on windows) the location really isn&#39;t a &quot;system&quot; library but I could see where on Linux and OS X it could go VERY wrong by including those libraries. So #2 would just be dandy.<br>


<br>
Thanks<br>
<div class="im">___________________________________________________________<br>
Mike Jackson                      <a href="http://www.bluequartz.net" target="_blank">www.bluequartz.net</a><br>
<br>
</div><div><div></div><div class="h5">On Dec 30, 2010, at 3:03 PM, Dave Partyka wrote:<br>
<br>
&gt; This isn&#39;t supported. Especially because USE_SYSTEM_ most likely means your library is in /usr/lib on other platforms. Granted the same argument could be made against the 4 libraries you listed. ;-)<br>
&gt;<br>
&gt; What you could do is<br>
&gt;<br>
&gt; 1. add custom install rules via PARAVIEW_EXTRA_INSTALL_RULES_FILE ( I just remembered you had a previous request to allow this to have multiple files.)<br>
&gt; 2. I could provide a cache variable for you to set that gets appended to DIRS.<br>
&gt;<br>
&gt; On Thu, Dec 30, 2010 at 1:49 PM, Michael Jackson &lt;<a href="mailto:mike.jackson@bluequartz.net">mike.jackson@bluequartz.net</a>&gt; wrote:<br>
&gt; I am using a &quot;system installed&quot; hdf5 for my builds of ParaView. The issue is when I go to run the &quot;INSTALL&quot; rule in Visual Studio I get failures because the HDF5 DLL file can not be found. This is because of the following code::<br>


&gt; IF(PARAVIEW_BUILD_QT_GUI)<br>
&gt;  list(APPEND DIRS ${QT_BINARY_DIR} ${QT_LIBRARY_DIR})<br>
&gt; ENDIF(PARAVIEW_BUILD_QT_GUI)<br>
&gt;<br>
&gt; IF(VTK_USE_FFMPEG_ENCODER)<br>
&gt;  get_filename_component(FFMPEG_DIR &quot;${FFMPEG_avcodec_LIBRARY}&quot; PATH)<br>
&gt;  list(APPEND DIRS ${FFMPEG_DIR})<br>
&gt; ENDIF(VTK_USE_FFMPEG_ENCODER)<br>
&gt;<br>
&gt; IF(PARAVIEW_ENABLE_PYTHON)<br>
&gt;  get_filename_component(PYTHON_BIN_DIR &quot;${PYTHON_EXECUTABLE}&quot; PATH)<br>
&gt;  get_filename_component(PYTHON_LIB_DIR &quot;${PYTHON_LIBRARY}&quot; PATH)<br>
&gt;  list(APPEND DIRS ${PYTHON_BIN_DIR} ${PYTHON_LIB_DIR})<br>
&gt; ENDIF(PARAVIEW_ENABLE_PYTHON)<br>
&gt;<br>
&gt; IF(PARAVIEW_USE_MPI)<br>
&gt;  get_filename_component(MPI_LIB_DIR &quot;${MPI_LIBRARY}&quot; PATH)<br>
&gt;  get_filename_component(MPI_BIN_DIR &quot;${MPIEXEC}&quot; PATH)<br>
&gt;  list(APPEND DIRS ${MPI_LIB_DIR} ${MPI_BIN_DIR})<br>
&gt; ENDIF(PARAVIEW_USE_MPI)<br>
&gt;<br>
&gt; set(_extension)<br>
&gt; set(_dir &quot;${PV_INSTALL_LIB_DIR}&quot;)<br>
&gt; IF(WIN32)<br>
&gt;  set(_extension &quot;.exe&quot;)<br>
&gt;  set(_dir &quot;bin&quot;)<br>
&gt; ENDIF(WIN32)<br>
&gt;<br>
&gt; set(APPS &quot;\${CMAKE_INSTALL_PREFIX}/${_dir}/paraview${_extension}&quot;)  # paths to executables<br>
&gt;<br>
&gt; INSTALL(CODE &quot;<br>
&gt;   include(\&quot;${ParaView_CMAKE_DIR}/BundleUtilities.cmake\&quot;)<br>
&gt;   fixup_bundle(\&quot;${APPS}\&quot;   \&quot;\&quot;   \&quot;${DIRS}\&quot;)<br>
&gt;   &quot; COMPONENT BrandedRuntime)<br>
&gt;<br>
&gt; The issue is the &quot;DIRS&quot; variable which makes no attempt to add any of the extra directories that might be needed in case a &quot;*_USE_SYSTEM_*&quot; variable is set. I can hack in a rule for HDF5 but a much cleaner approach would be to track which &quot;_USE_SYSTEM_*&quot; variables are set and loop over those to setup the correct directories. Or did I just completely miss something?<br>


&gt;<br>
&gt; ___________________________________________________________<br>
&gt; Mike Jackson                      <a href="http://www.bluequartz.net" target="_blank">www.bluequartz.net</a><br>
&gt; Principal Software Engineer       <a href="mailto:mike.jackson@bluequartz.net">mike.jackson@bluequartz.net</a><br>
&gt; BlueQuartz Software               Dayton, Ohio<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;<br>
&gt; 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>
&gt;<br>
&gt; 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>
&gt;<br>
&gt; Follow this link to subscribe/unsubscribe:<br>
&gt; <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
&gt;<br>
<br>
</div></div></blockquote></div><br></div>