<HTML>
<HEAD>
<TITLE>Re: [Insight-users] Help on build ITK example-binarythresholdfilter</TITLE>
</HEAD>
<BODY>
<FONT FACE="Verdana"><SPAN STYLE='font-size:12.0px'>Hi luis,<BR>
<BR>
Here is the Cmakelist.txt file. Actually, I did not change anything in ITK, I just update my computer as routine. Before I can build it , no any question.<BR>
<BR>
Thanks !<BR>
<BR>
<BR>
PROJECT(thresholdexample)<BR>
INCLUDE_REGULAR_EXPRESSION("^.*$")<BR>
<BR>
FIND_PACKAGE(ITK)<BR>
IF (ITK_FOUND)<BR>
INCLUDE (${ITK_USE_FILE})<BR>
ELSE (ITK_FOUND)<BR>
MESSAGE (FATAL_ERROR <BR>
"ITK NOT FOUND. PLEASE SET ITK_DIR.")<BR>
ENDIF(ITK_FOUND) <BR>
<BR>
<BR>
ADD_EXECUTABLE(BinaryThresholdImageFilter BinaryThresholdImageFilter.cxx )<BR>
TARGET_LINK_LIBRARIES(BinaryThresholdImageFilter ITKCommon ITKIO)<BR>
<BR>
<BR>
<FONT COLOR="#0000FF">*******************************************************<BR>
Yingli Fan<BR>
</FONT></SPAN></FONT><SPAN STYLE='font-size:12.0px'><FONT COLOR="#0000FF"><FONT FACE="Monaco"><TT>Laboratory for Bioimaging and Anatomical Informatics<BR>
</TT></FONT><FONT FACE="Verdana">Department of Neurobiology & Anatomy<BR>
Drexel University, College of Medicine<BR>
2900 Queen Lane PA 19129<BR>
Tel: 215-9918455 Fax: 215-843-9367<BR>
Email: Yingli.Fan@drexel.edu <BR>
*******************************************************<BR>
</FONT></FONT><FONT FACE="Verdana"><BR>
</FONT></SPAN>
</BODY>
</HTML>