[Cmake] Find only shared library

Jan Woetzel jw at mip . informatik . uni-kiel . de
Tue, 15 Jul 2003 18:23:04 +0200


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