[vtkusers] creating a dll with CMake for a VTK project
Prathamesh Kulkarni
prathameshmkulkarni at gmail.com
Mon Jul 19 12:32:02 EDT 2010
I was entirely missing a TARGET_LINK_LIBRARIES for MyLib. Thanks a lot.
Prathamesh
On Mon, Jul 19, 2010 at 11:25 AM, John Drescher <drescherjm at gmail.com>wrote:
> On Mon, Jul 19, 2010 at 12:20 PM, Prathamesh Kulkarni
> <prathameshmkulkarni at gmail.com> wrote:
> > Hey John,
> >
> > Thanks for your help. Could you please tell/ point me on how to link the
> dll
> > to vtk libs?
> >
>
> In your TARGET_LINK_LIBRARIES statement in your CMakeLists.txt for the
> .dll you should have at minimum vtkCommon but probably more depending
> on what parts of vtk you are using.
>
> John
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100719/8a268194/attachment.htm>
More information about the vtkusers
mailing list