File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 1
- # Copyright (c) 2009, 2019 , Oracle and/or its affiliates. All rights reserved.
1
+ # Copyright (c) 2009, 2020 , Oracle and/or its affiliates. All rights reserved.
2
2
#
3
3
# This program is free software; you can redistribute it and/or modify
4
4
# it under the terms of the GNU General Public License, version 2.0, as
@@ -192,8 +192,9 @@ function(find_openssl)
192
192
)
193
193
194
194
#message("== OPENSSL_VERSION_NUMBER: ${OPENSSL_VERSION_NUMBER}")
195
+ # define OPENSSL_VERSION_TEXT "OpenSSL 1.1.1d-freebsd 10 Sep 2019"
195
196
STRING (REGEX REPLACE
196
- "^.*OPENSSL_VERSION_TEXT[\t ]+\" OpenSSL[\t ]([0-9]+)\\ .([0-9]+)\\ .([0-9]+)([a-z]* )[\t ].*$"
197
+ "^.*OPENSSL_VERSION_TEXT[\t ]+\" OpenSSL[\t ]([0-9]+)\\ .([0-9]+)\\ .([0-9]+)([a-z]| )[\t \\ - ].*$"
197
198
"\\ 1;\\ 2;\\ 3;\\ 4"
198
199
version_list "${OPENSSL_VERSION_NUMBER} "
199
200
)
You can’t perform that action at this time.
0 commit comments