Commit 5cc2da5b authored by Volker Krause's avatar Volker Krause
Browse files

KCalendarCoreExtras only needs to be a dynamic library on Android

That's a limitation of androiddeployqt, otherwise we wont get its AAR
included. On all other platforms a static library is sufficient for now.
parent b6f95395
Pipeline #190451 passed with stage
in 3 minutes and 55 seconds
# SPDX-FileCopyrightText: 2022 Volker Krause <vkrause@kde.org>
# SPDX-License-Identifier: BSD-3-Clause
add_library(KCalendarCoreExtras)
if (ANDROID)
add_library(KCalendarCoreExtras)
else()
add_library(KCalendarCoreExtras STATIC)
endif()
generate_export_header(KCalendarCoreExtras BASE_NAME KCalendarCoreExtras)
target_sources(KCalendarCoreExtras PRIVATE
......@@ -21,4 +25,6 @@ endif()
target_link_libraries(KCalendarCoreExtras PUBLIC KF5::CalendarCore)
install(TARGETS KCalendarCoreExtras ${KF5_INSTALL_TARGETS_DEFAULT_ARGS})
if (ANDROID)
install(TARGETS KCalendarCoreExtras ${KF5_INSTALL_TARGETS_DEFAULT_ARGS})
endif()
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment