Warning, /network/ruqola/src/plugins/authentication/github/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 # SPDX-FileCopyrightText: 2020-2024 Laurent Montel <montel@kde.org>
0002 # SPDX-License-Identifier: BSD-3-Clause
0003 
0004 set(ruqola_githubauthenticationplugin_SRCS
0005     githubauthenticationinterface.cpp
0006     githubpluginauthentication.cpp
0007     githubauthenticationinterface.h
0008     githubpluginauthentication.h
0009     githubauthenticationjob.h
0010     githubauthenticationjob.cpp
0011     githubauthenticationsettings.h
0012     githubauthenticationsettings.cpp
0013 )
0014 
0015 ecm_qt_declare_logging_category(ruqola_githubauthenticationplugin_SRCS HEADER githubauthenticationplugin_debug.h
0016     IDENTIFIER RUQOLA_GITHUBAUTHENTICATION_PLUGIN_LOG CATEGORY_NAME org.kde.ruqola_githubauthenticationplugin
0017     DESCRIPTION "ruqola (github authentication plugin)" EXPORT RUQOLA)
0018 
0019 kcoreaddons_add_plugin(ruqola_githubauthenticationplugin SOURCES
0020     ${ruqola_githubauthenticationplugin_SRCS} INSTALL_NAMESPACE ruqolaplugins/authentication)
0021 
0022 target_link_libraries(ruqola_githubauthenticationplugin
0023     libruqolacore
0024 )
0025 if (QT_MAJOR_VERSION STREQUAL "6")
0026     target_link_libraries(ruqola_githubauthenticationplugin qt6keychain)
0027 else()
0028     target_link_libraries(ruqola_githubauthenticationplugin qt5keychain)
0029 endif()
0030 
0031 if (BUILD_TESTING)
0032     add_subdirectory(autotests)
0033     add_subdirectory(tests)
0034 endif()
0035