Does:
find_library(
MY_LIB
libthelibrary.a
PATHS
...
)
work?
On Thu, Mar 31, 2011 at 11:38 AM, Robert Bielik <[email protected]>wrote:
> I'm trying to use find_library to find static (.a) libraries on Mac OS X
> (cmake 2.8.1). In a lib path I have f.i.:
>
> .../lib/libthelibrary.a
> .../lib/libthelibrary.dylib
>
> and with:
>
> find_library(
> MY_LIB
> thelibrary
> PATHS
> ...
> )
>
> it consequently finds only the .dylib ones, whereas I'd like to get hold of
> the .a ones...
>
> How to?
>
> TIA
> /Rob
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake
>
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake