<div>I managed to build the insightapplications, and i want to be able to use them just as easy as i can use the VTK and ITK. But i cannot seem to figure out how to make the CMakeLists.txt so that i can also include the whole Insightapplications, like it is done with ITK and VTK. 
</div>
<div>My CMakeLists.txt looks like this now</div>
<div>&nbsp;</div>
<div>
<p>PROJECT(Hello)</p>
<p>FIND_PACKAGE(ITK)<br>IF (ITK_FOUND)<br>&nbsp;INCLUDE(${USE_ITK_FILE})<br>ENDIF(ITK_FOUND)</p>
<p>FIND_PACKAGE(VTK)<br>IF(VTK_FOUND)<br>&nbsp;INCLUDE( ${USE_VTK_FILE} )<br>ENDIF(VTK_FOUND)</p>
<p>INCLUDE_DIRECTORIES(<br>&nbsp;${Hello_SOURCE_DIR}<br>)</p>
<p><br>ADD_EXECUTABLE(Hello main.cxx) <br>TARGET_LINK_LIBRARIES (Hello <br>&nbsp;ITKBasicFilters ITKCommon ITKIO <br>&nbsp;vtkRendering vtkGraphics vtkHybrid <br>&nbsp;vtkImaging vtkIO vtkFiltering vtkCommon <br>&nbsp;)</p></div>
<div><br>So i think somehow i need to make a INSIGHT package as well like ITK and VTK. But how is this done? </div>
<div>&nbsp;</div>
<div>FIND_PACKAGE(INSIGHT)<br>IF (INSIGHT_FOUND)<br>&nbsp;INCLUDE(${USE_INSIGHT_FILE})<br>ENDIF(INSIGHT_FOUND)</div>
<div>&nbsp;</div>
<div>Does not work...</div>
<div>&nbsp;</div>
<div>Many regards</div>