Lines Matching +full:openssl +full:- +full:version
4 find_program(OPENSSL_EXECUTABLE openssl openssl.exe bin/openssl.exe
9 DOC "Openssl executable")
13 # On Windows, we need to copy the OpenSSL dlls
15 # BUT only if non-static libs (referencing dlls) are used
18 # the assumption is that these are part of the same OpenSSL package
25 # we check for OpenSSL versioning, as described in https://wiki.openssl.org/index.php/Versioning
26 string(REGEX MATCH "^([0-9]+)\\.([0-9]+)\\.(.*)$" REGEX_MATCH ${OPENSSL_VERSION})
30 message(DEBUG "Assuming OpenSSL release ${OPENSSL_VERSION} >= 1.1.0 for dll discovery")
32 # the regex matched - so we assume OpenSSL release >= 1.1
33 set(OVNR "${CMAKE_MATCH_1}") # OpenSSL version number
34 set(ORNR "${CMAKE_MATCH_2}") # OpenSSL release number
35 set(CRYPTO32_NAME "libcrypto-${OVNR}_${ORNR}.dll")
36 set(CRYPTO64_NAME "libcrypto-${OVNR}_${ORNR}-x64.dll")
39 set(SSL32_NAME "libssl-${OVNR}_${ORNR}.dll")
40 set(SSL64_NAME "libssl-${OVNR}_${ORNR}-x64.dll")
47 string(REGEX MATCH "^(.*)/tools/openssl$" REGEX_MATCH ${OPENSSL_EXECUTABLE_PATH})
51 set(OPENSSL_EXECUTABLE_BIN_PATH "${CMAKE_MATCH_1}/bin") # bin path of this openssl variant
73 else() # the version regex did not match
75 # as a fallback, we check for "old" OpenSSL library (used before OpenSSL 1.1.0)