diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2021-06-30 13:51:21 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-07-01 21:22:36 +0000 |
commit | a7b6b6dbe9f8441b2c0caee2c51f921564acd4a8 (patch) | |
tree | 7f199449e808181f232a84c19a8c87e72259efe0 /cmake/FindWrapOpenSSL.cmake | |
parent | baf63cbefe5727deb189307de94cf43840aeee70 (diff) |
CMake: Be more explicit about found OpenSSL variables
Specifying the variables as required variable will show the found
paths in the configure output.
Task-number: QTBUG-94355
Change-Id: I985a3585f37b38e25b6be4fae5d42c82e06517de
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
(cherry picked from commit 6d59e1e08832fab20db434c012ad89a2a0e641d0)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'cmake/FindWrapOpenSSL.cmake')
-rw-r--r-- | cmake/FindWrapOpenSSL.cmake | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/cmake/FindWrapOpenSSL.cmake b/cmake/FindWrapOpenSSL.cmake index b4481f3c09..486686d338 100644 --- a/cmake/FindWrapOpenSSL.cmake +++ b/cmake/FindWrapOpenSSL.cmake @@ -30,4 +30,10 @@ if(OpenSSL_FOUND) endif() include(FindPackageHandleStandardArgs) -find_package_handle_standard_args(WrapOpenSSL DEFAULT_MSG WrapOpenSSL_FOUND) +find_package_handle_standard_args(WrapOpenSSL + REQUIRED_VARS + OPENSSL_CRYPTO_LIBRARY + OPENSSL_INCLUDE_DIR + VERSION_VAR + OPENSSL_VERSION +) |