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  
    166166    # Encoded as MNNFFPPS: major minor fix patch status
    167167    FILE(STRINGS "${OPENSSL_INCLUDE_DIR}/openssl/opensslv.h"
    168168      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].*"
    170170    )
    171171    STRING(REGEX REPLACE
    172172      "^.*OPENSSL_VERSION_NUMBER[\t ]+0x([0-9]).*$" "\\1"