[CMake] Problems finding the SSL library

Maciej (Matchek) Bliziński maciej at opencsw.org
Sat Feb 18 07:00:09 EST 2012


2012/1/16 Michael Wild <themiwi at gmail.com>:
> 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.

It does the trick, thanks. This SSL problem was one of the most
frustrating experiences I ever had with any build system. It delayed
my Solaris build of MySQL 5.5 by at least three months. So thanks
again for helping me out!

Maciej


More information about the CMake mailing list