Ticket #46766: patch-cmake-ssl.cmake.diff
File patch-cmake-ssl.cmake.diff, 522 bytes (added by Schamschula (Marius Schamschula), 10 years ago) |
---|
-
(a) a/cmake/ssl.cmake.orig vs. (b) b/cmake/ssl.cmake
a b 166 166 # Encoded as MNNFFPPS: major minor fix patch status 167 167 FILE(STRINGS "${OPENSSL_INCLUDE_DIR}/openssl/opensslv.h" 168 168 OPENSSL_VERSION_NUMBER 169 REGEX "^# define[\t ]+OPENSSL_VERSION_NUMBER[\t ]+0x[0-9].*"169 REGEX "^#[\t ]+define[\t ]+OPENSSL_VERSION_NUMBER[\t ]+0x[0-9].*" 170 170 ) 171 171 STRING(REGEX REPLACE 172 172 "^.*OPENSSL_VERSION_NUMBER[\t ]+0x([0-9]).*$" "\\1"