KArchive: Fix libZMA if "Use System LZMA" is on but not found

Change-Id: I0c5d089d61cca9c312e4d36052a7713514f5d117
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
Marcus Tillmanns
2024-12-11 08:57:06 +01:00
parent 9f28aac534
commit 8d02ee45bf

View File

@@ -157,12 +157,10 @@ extend_qtc_library(
) )
# libLZMA support # libLZMA support
if (NOT QTC_USE_SYSTEM_LZMA) include (CheckTypeSize)
include (CheckTypeSize) include (CheckIncludeFile)
include (CheckIncludeFile) CHECK_TYPE_SIZE("size_t" SIZEOF_SIZE_T)
CHECK_TYPE_SIZE("size_t" SIZEOF_SIZE_T) CHECK_INCLUDE_FILE("stdbool.h" HAVE_STDBOOL_H)
CHECK_INCLUDE_FILE("stdbool.h" HAVE_STDBOOL_H)
endif()
extend_qtc_library( extend_qtc_library(
karchive karchive