AW: Re: [CMake] Linking Problems w. CMake 2.4 and MinGW32

2006-09-03 Thread hendrik
>I just tried > >ADD_EXECUTABLE(foo foo.cxx) >TARGET_LINK_LIBRARIES(foo bar.lib) > >and I got a "-lbar" on the link line from CMake 2.4.3 with the "MSYS >Makefiles" and "MinGW Makefiles" generators. This example works for me, too. Maybe there's some issue on setting the LIbrary via FIND_LIBRARY?

Re: AW: Re: [CMake] Linking Problems w. CMake 2.4 and MinGW32

2006-09-07 Thread Brad King
[EMAIL PROTECTED] wrote: >> ADD_EXECUTABLE(foo foo.cxx) >> TARGET_LINK_LIBRARIES(foo bar.lib) >> >> and I got a "-lbar" on the link line from CMake 2.4.3 with the "MSYS >> Makefiles" and "MinGW Makefiles" generators. > > This example works for me, too. Maybe there's some issue on setting the > LI