Yup. Confirmed from my modular VTK testing.<div>I think it make sense to attache VTK_LIBRARIES to ITK_LIBRAIRES, once the VTK modules are enabled.<br><div><br><div><br><div><br><br><div class="gmail_quote">On Tue, Jun 26, 2012 at 1:10 PM, Bill Lorensen <span dir="ltr"><<a href="mailto:bill.lorensen@gmail.com" target="_blank">bill.lorensen@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">After VTK modular, the USE_VTK_FILE does a lot more. I think for the<br>
time being, you will have to<br>
FIND_PACKAGE(VTK)<br>
INCLUDE(${USE_VTK_FILE})<br>
<br>
the ITK configuration is not smart enough yet.<br>
<br>
It's definitely a bug.<br>
<div class="HOEnZb"><div class="h5"><br>
On Tue, Jun 26, 2012 at 1:07 PM, David Doria <<a href="mailto:daviddoria@gmail.com">daviddoria@gmail.com</a>> wrote:<br>
> On Tue, Jun 26, 2012 at 12:58 PM, Bill Lorensen <<a href="mailto:bill.lorensen@gmail.com">bill.lorensen@gmail.com</a>><br>
> wrote:<br>
>><br>
>> I think you still need<br>
>> ${VTK_LIBRARIES}<br>
><br>
><br>
> I actually don't need ${VTK_LIBRARIES},<br>
><br>
> TARGET_LINK_LIBRARIES(TestITK ${ITK_LIBRARIES})<br>
><br>
> is sufficient. However, what I do need is:<br>
><br>
> FIND_PACKAGE(VTK)<br>
> INCLUDE(${USE_VTK_FILE})<br>
><br>
> Which I agree is not right :)<br>
><br>
> David<br>
<br>
<br>
<br>
</div></div><div class="HOEnZb"><div class="h5">--<br>
Unpaid intern in BillsBasement at noware dot com<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><br></div><div><br></div>---------------------------------------------<br><b>Xiaoxiao Liu</b>, Ph.D.<div><div><div><font face="arial, sans-serif"><span style="border-collapse:collapse">R & D Engineer</span></font></div>
<div><div><a href="http://www.kitware.com/" target="_blank">Kitware Inc</a>.</div></div><div><span style="border-collapse:collapse;font-family:arial,sans-serif;font-size:13px">Clifton Park, NY</span><div><div>Phone: (518) 881-4924 or <span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px">(518) 371-3971 x124</span></div>
<div><font face="Verdana, Arial, Helvetica, sans-serif"><span style="line-height:31px;font-size:x-small"><br></span></font></div></div></div></div></div><br>
</div></div></div></div>