SubsampleVolume-alex.cxx CMakeLists.txt: Difference between revisions

From KitwarePublic
Jump to navigationJump to search
No edit summary
 
No edit summary
Line 1: Line 1:
<nowiki>
<pre><nowiki>FIND_PACKAGE(ITK)
 
FIND_PACKAGE(ITK)
IF(ITK_FOUND)
IF(ITK_FOUND)
INCLUDE(${ITK_USE_FILE})
INCLUDE(${ITK_USE_FILE})
Line 10: Line 8:


ADD_EXECUTABLE(SubsampleVolume SubsampleVolume-alex.cxx )
ADD_EXECUTABLE(SubsampleVolume SubsampleVolume-alex.cxx )
TARGET_LINK_LIBRARIES(SubsampleVolume ITKCommon ITKBasicFilters ITKIO)
TARGET_LINK_LIBRARIES(SubsampleVolume ITKCommon ITKBasicFilters ITKIO)</nowiki></pre>
 
</nowiki>

Revision as of 16:04, 20 March 2006

FIND_PACKAGE(ITK)
IF(ITK_FOUND)
INCLUDE(${ITK_USE_FILE})
ELSE(ITK_FOUND)
MESSAGE(FATAL_ERROR
"ITK not found. Please set ITK_DIR.")
ENDIF(ITK_FOUND)

ADD_EXECUTABLE(SubsampleVolume SubsampleVolume-alex.cxx )
TARGET_LINK_LIBRARIES(SubsampleVolume ITKCommon ITKBasicFilters ITKIO)