On 01/16/2012 04:59 PM, Maciej (Matchek) Bliziński wrote:
> 2011/12/22 Maciej (Matchek) Bliziński <[email protected]>:
>> CMake Error at cmake/ssl.cmake:83 (MESSAGE):
>>  Cannot find appropriate system libraries for SSL.  Use WITH_SSL=bundled to
>>  enable SSL support
>> Call Stack (most recent call first):
>>  CMakeLists.txt:255 (MYSQL_CHECK_SSL)
> 
> I found the MySQL-5.5 source code repository. Is CMakeLists.txt file
> the main one? If so, here's the link:
> 
> http://bazaar.launchpad.net/~mysql/mysql-server/5.5/view/head:/CMakeLists.txt
> 
> Another one that seems relevant, is this:
> 
> http://bazaar.launchpad.net/~mysql/mysql-server/5.5/view/head:/cmake/ssl.cmake
> 
> Could anyone look and make suggestions how to proceed with debugging?
> 
> Maciej


Definitely a bug in MySQL. They should be setting
CMAKE_REQUIRED_INCLUDES to ${OPENSSL_INCLUDE_DIR} before invoking the
CHECK_SYMBOL_EXISTS() function/macro in line 72 of cmake/ssl.cmake.
Otherwise CMake will not use the include directory found by
FindOpenSSL.cmake.

HTH

Michael
--

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