Hi,<div><br></div><div>I have the same problem reported in this thread: <a href="http://www.itk.org/pipermail/insight-users/2010-March/035903.html">http://www.itk.org/pipermail/insight-users/2010-March/035903.html</a>, but any solution was published. I would like to continue the discussion.</div>
<div><br></div><div>I'm trying to compile ITK 3.18 with GDCM 2.0.15. I compiled correctly GDCM 2.0.15 with VTK 5.6 but when I set to 1 the ITK_USE_SYSTEM_GDCM option this CMake message error appears:</div><div><br></div>
<div><div>CMake Error at Utilities/MetaIO/CMakeLists.txt:104 (INSTALL):</div><div> install TARGETS given no LIBRARY DESTINATION for shared library target</div><div> "vtkmetaio".</div></div><div><br></div><div>
<br></div><div>In the mentioned thread, Brad King proposed a test:</div><div><br></div><div>"</div><div><div>Edit ITK/Utilities/MetaIO/CMakeLists.txt to add some message()-s</div><div>in this top block:</div><div><br>
</div><div>IF(VTK_VERSION)</div><div> SET(METAIO_FOR_VTK 1)</div><div> MARK_AS_ADVANCED( METAIO_FOR_VTK )</div><div> SET(METAIO_NAMESPACE "vtkmetaio")</div><div> MESSAGE(FATAL_ERRORO "ITK IS NOT VTK!") # ADD THIS LINE</div>
<div>ELSE(VTK_VERSION)</div><div>...</div><div>ENDIF(VTK_VERSION)</div><div><br></div><div>Does CMake hit this? Are you pointing ITK at a VTK? "</div></div><div><br></div><div>I tested it, and yes, CMake hits this.</div>
<div><br></div><div>Anyone have any suggestion?</div><div><br></div><div>Thanks,</div><div><br></div><div>Roger</div>