48561178e2
Do build zlib as static 3rdparty library. This makes it easier to disable warnings. Pick-to: 6.3 Change-Id: I1db331b671b64e68d81c56b0df337983c3bbe7fa Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
12 lines
396 B
CMake
12 lines
396 B
CMake
include(QtFindWrapHelper NO_POLICY_SCOPE)
|
|
|
|
qt_find_package_system_or_bundled(wrap_zlib
|
|
FRIENDLY_PACKAGE_NAME "ZLIB"
|
|
WRAP_PACKAGE_TARGET "WrapZLIB::WrapZLIB"
|
|
WRAP_PACKAGE_FOUND_VAR_NAME "WrapZLIB_FOUND"
|
|
BUNDLED_PACKAGE_NAME "BundledZLIB"
|
|
BUNDLED_PACKAGE_TARGET "BundledZLIB"
|
|
SYSTEM_PACKAGE_NAME "WrapSystemZLIB"
|
|
SYSTEM_PACKAGE_TARGET "WrapSystemZLIB::WrapSystemZLIB"
|
|
)
|