Fix building with Cmake
This commit is contained in:
1 parent
feda8d4ad4
commit
7382399d53
1 file changed
+1
-1
@@ -186,7 +186,7 @@ if (OPENSSL_INCLUDE_DIR)
|
|||||||
set(OPENSSL_VERSION "${_OPENSSL_VERSION}")
|
set(OPENSSL_VERSION "${_OPENSSL_VERSION}")
|
||||||
else (_OPENSSL_VERSION)
|
else (_OPENSSL_VERSION)
|
||||||
file(STRINGS "${OPENSSL_INCLUDE_DIR}/openssl/opensslv.h" openssl_version_str
|
file(STRINGS "${OPENSSL_INCLUDE_DIR}/openssl/opensslv.h" openssl_version_str
|
||||||
REGEX "^#define[\t ]+OPENSSL_VERSION_NUMBER[\t ]+0x[0-9][0-9][0-9][0-9][0-9][0-9].*")
|
REGEX "^# *define[\t ]+OPENSSL_VERSION_NUMBER[\t ]+0x[0-9][0-9][0-9][0-9][0-9][0-9].*")
|
||||||
|
|
||||||
# The version number is encoded as 0xMNNFFPPS: major minor fix patch status
|
# The version number is encoded as 0xMNNFFPPS: major minor fix patch status
|
||||||
# The status gives if this is a developer or prerelease and is ignored here.
|
# The status gives if this is a developer or prerelease and is ignored here.
|
||||||
|
|||||||
Reference in new issue
Block a user