[Cmake] Find only shared library

Bill Hoffman bill . hoffman at kitware . com
Tue, 15 Jul 2003 12:47:24 -0400


A.lib is the link library used for A.dll.
You can not link directly to a .dll file, but
you must have a .lib file.

-Bill


At 12:23 PM 7/15/2003, Jan Woetzel wrote:

>Hi,
>
>I want to find a shared library "A" (or A.dll).
>I tried FIND_LIBRARY but it finds the static library (A.lib) first which is in the same directory.
>
>Is there a better solutions than using FIND_PATH with platform dependant library filenames?
>(e.g. A.dll on Windows and libA.so on Unix)
>
>I'm actually using cmake 1.6.7 and tested on MS Windows XP.
>
>Jan.
>
>-- 
> Jan Woetzel
> Url   www.mip.informatik.uni-kiel.de/~jw
>
>
>_______________________________________________
>Cmake mailing list
>Cmake at www . cmake . org
>http://www . cmake . org/mailman/listinfo/cmake