# This project is designed to manipulate the masks PROJECT(DicomImageWrite) # Find ITK Library FIND_PACKAGE(ITK) IF(ITK_FOUND) INCLUDE(${ITK_USE_FILE}) ELSE(ITK_FOUND) MESSAGE(FATAL_ERROR "Cannot build without ITK. Please set ITK_DIR.") ENDIF(ITK_FOUND) ADD_EXECUTABLE(DicomImageWrite DicomImageWrite.cxx ) TARGET_LINK_LIBRARIES(DicomImageWrite ITKCommon ITKIO)