[Cmake] FIND_LIBRARY and regular expr.

David Svoboda xsvobod2 at informatics.muni.cz
Tue, 27 Jan 2004 15:18:41 +0100


Hello,

is there any way possible way to search for any librareis with regular
expression? For example, I'm searching for the library libmyapp.so, but I
apriori do not know whether the name of the library is libmyapp3.so or
libmyapp4.so - i.e. I do not know the version. It is based on the chosen
directory, where the lib files are stored -> the different directory, the
different version.

So, let us come back to my question, is it possible to write something
simmilar to:

=09FIND_LIBRARY(MYLIB myapp.* ${SPECIAL_DIR})

???


David Svoboda

----------------------
Faculty of Informatics, Masaryk University
Botanick=E1 68a, 602 00 BRNO, Czech Republic
e-mail: svoboda at fi.muni.cz
tel: +420-549 494 383