Skip to content

Commit 8d02ee4

Browse files
committed
KArchive: Fix libZMA if "Use System LZMA" is on but not found
Change-Id: I0c5d089d61cca9c312e4d36052a7713514f5d117 Reviewed-by: Christian Stenger <[email protected]>
1 parent 9f28aac commit 8d02ee4

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

src/libs/3rdparty/karchive/CMakeLists.txt

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -157,12 +157,10 @@ extend_qtc_library(
157157
)
158158

159159
# libLZMA support
160-
if (NOT QTC_USE_SYSTEM_LZMA)
161-
include (CheckTypeSize)
162-
include (CheckIncludeFile)
163-
CHECK_TYPE_SIZE("size_t" SIZEOF_SIZE_T)
164-
CHECK_INCLUDE_FILE("stdbool.h" HAVE_STDBOOL_H)
165-
endif()
160+
include (CheckTypeSize)
161+
include (CheckIncludeFile)
162+
CHECK_TYPE_SIZE("size_t" SIZEOF_SIZE_T)
163+
CHECK_INCLUDE_FILE("stdbool.h" HAVE_STDBOOL_H)
166164

167165
extend_qtc_library(
168166
karchive

0 commit comments

Comments
 (0)