[CMake] find_library while cross compiling?
Robert Dailey
rcdailey.lists at gmail.com
Thu Apr 30 16:34:54 EDT 2015
I'm on Windows and I am cross compiling for Android NDK. I use
find_library() with PATHS to hunt down some libssl.a files, plus a few
others.
However, find_library() says it can't find them. I'm assuming this is
because I'm on Windows and it doesn't recognize *.a files as a valid
library on that platform. Is there a way to make CMake search
libraries based on the platform the target is being compiled for?
More information about the CMake
mailing list