[vtk-developers] CMake and VTK_LIBRARY_DIRS

Nolden, Marco m.nolden at dkfz-heidelberg.de
Sat Jan 11 16:05:18 EST 2014


Am 19.12.2013 21:22, schrieb Brad King:
> On 12/10/2013 08:33 AM, Marco Nolden wrote:
>> in our MITK project, the linking works fine, but we use CMake's
>> GetPrerequisites and BundleUtilities to build installers on Windows,
>> Linux and MacOS. For this we used to constuct a search path for
>> libraries (VTK 5.8). Any suggestions how to do this best with VTK 6?
>
> We used to provide a VTK_RUNTIME_LIBRARY_DIRS variable to clients
> to specify the directories to put in PATH or LD_LIBRARY_PATH to
> load VTK shared libraries at runtime.  That was the proper value
> to use for your purpose IIUC.  However, it was accidentally left
> out of the modularization infrastructure.  I propose this fix:
>
>   http://review.source.kitware.com/#/c/13869/
>
> -Brad
>

Great, thanks!

Marco



More information about the vtk-developers mailing list