Warning, /pim/vakzination/src/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 # SPDX-License-Identifier: BSD-3-Clause
0002 # SPDX-FileCopyrightText: 2021 Nicolas Fella <nicolas.fella@gmx.de>
0003 
0004 add_definitions(-DTRANSLATION_DOMAIN=\"vakzination\")
0005 
0006 add_library(vakzinationstatic STATIC)
0007 target_sources(vakzinationstatic PRIVATE certificatesmodel.cpp)
0008 target_link_libraries(vakzinationstatic PUBLIC Qt::Core Qt::Gui KF6::ConfigCore KHealthCertificate PRIVATE KF6::I18n KPim6::Itinerary)
0009 
0010 add_executable(vakzination main.cpp resources.qrc)
0011 target_include_directories(vakzination PRIVATE ${CMAKE_BINARY_DIR})
0012 target_link_libraries(vakzination
0013     Qt::Core
0014     Qt::Gui
0015     Qt::Qml
0016     Qt::Quick
0017     Qt::QuickControls2
0018     Qt::Svg
0019     KF6::I18n
0020     KF6::ConfigCore
0021     KF6::CoreAddons
0022     vakzinationstatic
0023 )
0024 
0025 if (ANDROID)
0026     kirigami_package_breeze_icons(ICONS
0027         dialog-error-symbolic
0028         dialog-ok
0029         edit-paste
0030         flashlight-off
0031         flashlight-on
0032         folder-open
0033         question
0034         view-barcode-qr
0035         view-list-details
0036     )
0037     ecm_add_android_apk(vakzination ANDROID_DIR ${CMAKE_SOURCE_DIR}/android)
0038 else()
0039     target_link_libraries(vakzination Qt::Widgets)
0040 endif()
0041 
0042 install(TARGETS vakzination ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})