qt5base-lts/config.tests
Joerg Bornemann f4417bf7e8 Check whether CMake was built with zstd support
CMake 3.18 introduced the file(ARCHIVE_CREATE) API that we use with
COMPRESSION Zstd for compressing corelib's mimedatabase.

It's possible to build CMake without proper zstd support, and we have
encountered such builds in the wild where the file(ARCHIVE_CREATE) call
crashes.

Add a configure test to determine whether CMake properly supports the
Zstd compression method.

Fixes: QTBUG-89108
Change-Id: I37e389c878845162b6f18457984d4f73a265b604
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2021-04-16 16:49:28 +02:00
..
arch Remove the qmake project files 2021-01-07 15:32:28 +01:00
atomicfptr configure: un-namespace remaining non-inline configure tests 2017-08-02 16:38:00 +00:00
avx512 Remove the qmake project files 2021-01-07 15:32:28 +01:00
cmake_zstd Check whether CMake was built with zstd support 2021-04-16 16:49:28 +02:00
separate_debug_info Remove the qmake project files 2021-01-07 15:32:28 +01:00
stl Remove the qmake project files 2021-01-07 15:32:28 +01:00
verifyspec Remove the qmake project files 2021-01-07 15:32:28 +01:00
x86_simd Remove the qmake project files 2021-01-07 15:32:28 +01:00
.gitignore Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
.qmake.conf make also configure tests not see %LIB% and %INCLUDE% under mingw 2016-10-17 13:44:43 +00:00