[Cmake] FIND_LIBRARY : question about name

ibiris at genius.org.br ibiris at genius.org.br
Mon, 26 Apr 2004 09:50:50 -0400


Added with #id 796

----
Ilias Biris, Ph.D.
Senior Researcher
Genius Instituto de Tecnologia
TEL: +55 (0)92 6146503
FAX: +55 (0)92 6133144
http://www.genius.org.br/





Brad King <brad.king at kitware.com>
Sent by: cmake-admin at www.cmake.org
26/04/2004 09:47

 
        To:     ibiris at genius.org.br
        cc:     cmake at www.cmake.org
        Subject:        Re: [Cmake] FIND_LIBRARY : question about name


ibiris at genius.org.br wrote:
> 
> 
> 
> Hello folks,
> 
> recently I tried to use FIND_LIBRARY to check if a library required to
> build  another library is already available or it has to be built first.
> 
> The problem I have is that the name of the library is libx.a in cygwin 
but
> just x.lib on windows. Using just
> 
> FIND_LIBRARY(varname NAMES x PATHS < bunch o' paths here> )
> 
> works ok on windows but on cygwin it causes an error, since it cannot 
find
> the libx (instead of x). Can someone verify if I need to search for a
> different name in  cygwin / windows / Linux?  I would expect that 'x' 
marks
> the name that is used for linking so it should look for x.lib on windows
> and libx.a for linux/cygwin.
> 
> Maybe I am missing something so your help would be greatfully 
appreciated.

CMake should be looking for the proper name on cygwin.  Please submit 
this as a bug report:

http://www.cmake.org/Bug

Thanks,
-Brad
_______________________________________________
Cmake mailing list
Cmake at www.cmake.org
http://www.cmake.org/mailman/listinfo/cmake


**************************************************************************************************

O conteúdo desse e-mail ou de seus anexos são confidenciais e restritos ao 
destinatário da mensagem.
Se você recebeu esse e-mail por engano, por favor notifique o remetente 
imediatamente e não faça cópias ou distribua seu conteúdo para ninguém.

**************************************************************************************************

The contents of this email and any attachments are confidential.
They are intended for the named recipient(s) only.
If you have received this email in error please notify the system manager or  the 
sender immediately and do not disclose the contents to anyone or make copies.

**************************************************************************************************