Hi, OpenSSL 1.0.2 was released last week and there is a little change in code, which impact FindOpenSSL.cmake script. The script use a regex to read the version of OpenSLL inside opensslv.h file. In the last commit, this file was modified with a formatting tool and the line 33 was changed from:
# define OPENSSL_VERSION_NUMBER 0x10100000L to: #define OPENSSL_VERSION_NUMBER 0x10100000L To fix that, it's possible to change regex in FindOpenSSL.cmake file in line 288, from: REGEX "^#define[\t ]+OPENSSL_VERSION_NUMBER[\t ]+0x([0-9a-fA-F])+.*") to: REGEX "^# *define[\t ]+OPENSSL_VERSION_NUMBER[\t ]+0x([0-9a-fA-F])+.*") It's work on Scientific Linux 7 with OpenSSL 1.0.2 and CMake 3.1.1. I have not checked on other platforms. Thanks, Guillaume Commit on opensslv.h: https://github.com/openssl/openssl/blob/0f113f3ee4d629ef9a4a30911b22b224772085e5/crypto/opensslv.h
-- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers