configurejson2cmake.py: openssl -> OpenSSL mapping
Change-Id: I29480dfbd4f144e3d5620b43419ec46fb866cf4b Reviewed-by: Liang Qi <liang.qi@qt.io>
This commit is contained in:
parent
4bfd6c010b
commit
92f81ebc21
@ -166,7 +166,7 @@ qt_feature("openssl" PUBLIC PRIVATE
|
||||
qt_feature_definition("openssl" "QT_NO_OPENSSL" NEGATE)
|
||||
qt_feature("openssl_linked" PUBLIC PRIVATE
|
||||
LABEL " Qt directly linked to OpenSSL"
|
||||
CONDITION NOT QT_FEATURE_securetransport AND libs.openssl OR FIXME
|
||||
CONDITION NOT QT_FEATURE_securetransport AND OpenSSL_FOUND
|
||||
ENABLE INPUT_openssl STREQUAL 'linked'
|
||||
DISABLE ( NOT INPUT_openssl STREQUAL 'linked' )
|
||||
)
|
||||
|
@ -74,6 +74,7 @@ def map_library(lib: str) -> Union[str, LibraryMapping, List[str]]:
|
||||
'libudev': 'Libudev',
|
||||
'lttng-ust': LibraryMapping(package='LTTngUST', resultVariable="LTTNGUST"),
|
||||
'opengl': LibraryMapping(package="OpenGL", resultVariable="OpenGL_OpenGL"),
|
||||
'openssl': 'OpenSSL',
|
||||
'openssl_headers': LibraryMapping(package="OpenSSL", resultVariable="OPENSSL_INCLUDE_DIR", appendFoundSuffix=False),
|
||||
'pcre2': ['PCRE2', 'REQUIRED'],
|
||||
'posix_iconv': None,
|
||||
|
Loading…
Reference in New Issue
Block a user