Hi,

I use find_library() to check if a library exists. If the libxxx.dll and the libxxx.a files are in the same directory, find_library() returns libxxx.dll - but I can't link against this library (windows case).

I could regex replace the dll with the the correct suffix, but is there a way to tell find_library() to return the correct filename?

Thanks,
Werner

--
Dipl. Ing. Werner Smekal
Institut fuer Allgemeine Physik
Technische Universitaet Wien
Wiedner Hauptstr 8-10
A-1040 Wien
Austria

email: [EMAIL PROTECTED]
web:   http://www.iap.tuwien.ac.at/~smekal
phone: +43-(0)1-58801-13463 (office)
       +43-(0)1-58801-13469 (laboratory)
fax:   +43-(0)1-58801-13499
_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to