<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3395" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=905271909-25092008>Oops, I forgot. This is now fixed
too.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><A
href="http://public.kitware.com/Bug/file_download.php?file_id=1739&type=bug">http://public.kitware.com/Bug/file_download.php?file_id=1739&type=bug</A></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff
size=2></FONT> </DIV>
<DIV dir=ltr align=left><SPAN class=905271909-25092008><FONT face=Arial
color=#0000ff size=2>Petr</FONT></SPAN></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff
size=2></FONT> </DIV>
<DIV dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> philiplowman@gmail.com
[mailto:philiplowman@gmail.com] <B>On Behalf Of </B>Philip
Lowman<BR><B>Sent:</B> Thursday, September 25, 2008 5:40 AM<BR><B>To:</B>
Gotthard, Petr<BR><B>Cc:</B> Eric Noulard; cmake@cmake.org<BR><B>Subject:</B>
Re: [CMake] [New Module] FindXXX module for RTI<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV dir=ltr>On Wed, Sep 24, 2008 at 12:46 PM, Gotthard, Petr <SPAN
dir=ltr><<A
href="mailto:Petr.Gotthard@honeywell.com">Petr.Gotthard@honeywell.com</A>></SPAN>
wrote:<BR>
<DIV class=gmail_quote>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff
size=2><SPAN>Philip,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff
size=2><SPAN></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN>I have
updated the FindRTI.cmake based on your comments. Many
thanks.</SPAN></FONT></DIV></DIV></BLOCKQUOTE>
<DIV><BR>Petr,<BR><BR>Thanks for making the changes.<BR> </DIV>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff
size=2><SPAN></SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff
size=2><SPAN></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN>One
explanation:</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN>I have to
manipulate <FONT size=2>CMAKE_FIND_LIBRARY_PREFIXES because under Windows some
RTI libraries have the "lib" prefix, while others don't. (By default there is
no "lib" prefix under Windows.) I thought it may be safer to allow both "" and
"lib" prefixes under all systems.</FONT></SPAN></FONT></DIV></DIV></BLOCKQUOTE>
<DIV><BR>If you're going to go the CMAKE_FIND_LIBRARY_PREFIXES route then be
sure to save off the contents of the variable prior to redefining it and then
restore it when finished. You don't want your module to change the default
behavior of CMake for other find modules which get called
afterwards.<BR><BR>Alternatively you can always add libRTI to the list of
allowable library names and include an explanation.<BR><BR></DIV></DIV>--
<BR>Philip Lowman<BR></DIV></BODY></HTML>