Rolf Eike Beer wrote: > Guillaume Belz wrote: > > 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. > > Should there be a patch? Otherwise I'll create one from your mail.
http://www.cmake.org/gitweb?p=cmake.git;a=commitdiff;h=c5d9a8283cfac15b4a5a07f18d5eb10c1f388505 Brad, this is based on origin/release. In case there will be a 3.1.2 I think this is a good candidate. Eike --
signature.asc
Description: This is a digitally signed message part.
-- 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