>>> I'm pretty sure LINK_DIRECTORIES should not be used in toolchain
>>> if not use at all.
>>>
>>> The purpose of find_package is precisely to find the full path to libraries
>>> thus not to need to use "LINK_DIRECTORIES".
>>
>> You are right. It seems that removing LINK_DIRECTORIES does the trick!
>
> Oops... My bad. Nope, CMake still does not find the OpenSSL library, even if I
> throw all INCLUDE and LINK directories directives away...
>
> Is there a way to trace what CMake is doing when looking up for OpenSSL?

man page told me about --trace...

After some intensive digging, I think I have found the problem. My rootfs has
broken links, in particular for libssl.so and libcrypto.so ... So no wonder that
CMake got troubled..

I'll correct those and let you know.

Thanks a lot for you help,
Loïc
--

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