Oops, I forgot. This is now fixed too.
http://public.kitware.com/Bug/file_download.php?file_id=1739&type=bug
 
Petr
 
________________________________

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Philip Lowman
Sent: Thursday, September 25, 2008 5:40 AM
To: Gotthard, Petr
Cc: Eric Noulard; [email protected]
Subject: Re: [CMake] [New Module] FindXXX module for RTI


On Wed, Sep 24, 2008 at 12:46 PM, Gotthard, Petr
<[EMAIL PROTECTED]> wrote:


        Philip,
         
        I have updated the FindRTI.cmake based on your comments. Many
thanks.


Petr,

Thanks for making the changes.
 

        
         
        One explanation:
        I have to manipulate 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.


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.

Alternatively you can always add libRTI to the list of allowable library
names and include an explanation.


-- 
Philip Lowman

_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to