Hello everyone!
I found in previous message there is none option to specify to find_library function to search just static library. It was for CMake 2.6.

Has it got any change with the new version of CMake?


I try to specify the name of the library like this:

find_library(MY_STATIC_LIB NAMES libmylib.a PATHS /path/to/mylib)

but it doesn't work.

I don't understand the reason why it doesn't work.

If anyone have some ideas...

Thanks,

Romain
--

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

Reply via email to