Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kicad-source-mirror
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
kicad-source-mirror
Commits
4a95880b
Commit
4a95880b
authored
Jan 27, 2015
by
Wayne Stambaugh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix FindOpenSSL.cmake version string regex breakage in OpenSSL 1.0.2.
parent
2beeb920
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
FindOpenSSL.cmake
CMakeModules/FindOpenSSL.cmake
+1
-1
No files found.
CMakeModules/FindOpenSSL.cmake
View file @
4a95880b
...
@@ -285,7 +285,7 @@ if (OPENSSL_INCLUDE_DIR)
...
@@ -285,7 +285,7 @@ if (OPENSSL_INCLUDE_DIR)
set
(
OPENSSL_VERSION
"
${
_OPENSSL_VERSION
}
"
)
set
(
OPENSSL_VERSION
"
${
_OPENSSL_VERSION
}
"
)
elseif
(
OPENSSL_INCLUDE_DIR AND EXISTS
"
${
OPENSSL_INCLUDE_DIR
}
/openssl/opensslv.h"
)
elseif
(
OPENSSL_INCLUDE_DIR AND EXISTS
"
${
OPENSSL_INCLUDE_DIR
}
/openssl/opensslv.h"
)
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-9a-fA-F])+.*"
)
REGEX
"^#
[
\t
]*
define[
\t
]+OPENSSL_VERSION_NUMBER[
\t
]+0x([0-9a-fA-F])+.*"
)
# 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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment