Warning, /utilities/keysmith/src/app/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 #
0002 # SPDX-License-Identifier: BSD-2-Clause
0003 # SPDX-FileCopyrightText: 2020-2021 Johan Ouwerkerk <jm.ouwerkerk@gmail.com>
0004 #
0005
0006 set(keysmith_SRCS
0007 keysmith.cpp
0008 cli.cpp
0009 flows_p.cpp
0010 state_p.cpp
0011 vms.cpp
0012 )
0013
0014 add_library(keysmith_lib STATIC ${keysmith_SRCS})
0015 set_target_properties(keysmith_lib PROPERTIES POSITION_INDEPENDENT_CODE ON)
0016 target_link_libraries(keysmith_lib
0017 PUBLIC
0018 Qt::Core
0019 Qt::Gui
0020 Qt::Qml
0021 Qt::Concurrent
0022 KF6::I18n
0023 model_lib
0024 account_lib
0025 )
0026
0027 if (ENABLE_DBUS_INTERFACE)
0028 target_link_libraries(keysmith_lib PRIVATE KF6::DBusAddons KF6::WindowSystem)
0029 endif()