Add ZLIB optional dependency for Android CI
This commit is contained in:
parent
f6a8f40d9a
commit
0afdb0d50c
@ -43,6 +43,7 @@ if (ANDROID)
|
||||
find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS Kirigami2)
|
||||
find_package(OpenSSL REQUIRED)
|
||||
find_package(SQLite3)
|
||||
find_package(ZLIB)
|
||||
else()
|
||||
find_package(Qt5 ${QT_MIN_VERSION} REQUIRED COMPONENTS Widgets DBus)
|
||||
endif()
|
||||
|
@ -135,6 +135,10 @@ if(ANDROID)
|
||||
target_link_libraries(kasts PRIVATE SQLite::SQLite3)
|
||||
endif()
|
||||
|
||||
if(ZLIB_FOUND)
|
||||
target_link_libraries(kasts PRIVATE ZLIB::ZLIB)
|
||||
endif()
|
||||
|
||||
kirigami_package_breeze_icons(ICONS
|
||||
window-close
|
||||
window-close-symbolic
|
||||
|
Loading…
x
Reference in New Issue
Block a user