Re: [CMake] MSYS static libraries under MSVC

2007-06-16 Thread Brandon Van Every
On 6/16/07, gga <[EMAIL PROTECTED]> wrote: Brandon Van Every wrote: > What are you passing exactly to TARGET_LINK_LIBRARIES? > TARGET_LINK_LIBRARIES( mrViewer ${LIBRARIES} ) where LIBRARIES contains a bunch of libraries found by FIND_LIBRARIES(), or, since it does not find libraries named .a,

Re: [CMake] MSYS static libraries under MSVC

2007-06-16 Thread gga
Brandon Van Every wrote: > > I guess this must be a problem with 3rd party libraries. I've never > had this problem with libraries I built myself, either with the MinGW > or the MSYS generators. > Maybe it is me. Whenever I compile libogg, libvorbis, etc. statically or dynamically, the resulti

Re: [CMake] MSYS static libraries under MSVC

2007-06-16 Thread Brandon Van Every
On 6/15/07, gga <[EMAIL PROTECTED]> wrote: I'm writing a better Find module for using some libraries compiled with MSYS under MSVC (FFMPEG to be more precise). My problem is that FIND_LIBRARY() seems to only search for .lib files, while MSYS static library files are named .a (even though th

[CMake] MSYS static libraries under MSVC

2007-06-15 Thread gga
I'm writing a better Find module for using some libraries compiled with MSYS under MSVC (FFMPEG to be more precise). My problem is that FIND_LIBRARY() seems to only search for .lib files, while MSYS static library files are named .a (even though they *are* .lib files compatible with MSVC). S