>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?
[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