[CMake] find_library and static library
Romain LEGUAY
romain.leguay at gmail.com
Thu Nov 17 04:28:07 EST 2011
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
More information about the CMake
mailing list