<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>
&nbsp;<BR>
PROJECT(thresholdexample)<BR>
INCLUDE_REGULAR_EXPRESSION(&quot;^.*$&quot;)<BR>
<BR>
FIND_PACKAGE(ITK)<BR>
IF (ITK_FOUND)<BR>
&nbsp;&nbsp;&nbsp;INCLUDE (${ITK_USE_FILE})<BR>
ELSE (ITK_FOUND)<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;MESSAGE (FATAL_ERROR <BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;ITK NOT FOUND. PLEASE SET ITK_DIR.&quot;)<BR>
ENDIF(ITK_FOUND) &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<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 &amp; 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 &nbsp;&nbsp;<BR>
*******************************************************<BR>
</FONT></FONT><FONT FACE="Verdana"><BR>
</FONT></SPAN>
</BODY>
</HTML>