Warning, /plasma/plasma-mobile/quicksettings/screenrotation/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 # SPDX-FileCopyrightText: 2022 Devin Lin <devin@kde.org>
0002 # SPDX-License-Identifier: GPL-2.0-or-later
0003 
0004 set(screenrotationplugin_SRCS
0005     screenrotationplugin.cpp
0006     screenrotationutil.cpp
0007 )
0008 
0009 add_library(screenrotationplugin ${screenrotationplugin_SRCS})
0010 
0011 target_link_libraries(screenrotationplugin
0012     Qt::Core
0013     Qt::Qml
0014     Qt::Quick
0015     Qt::DBus
0016     Qt::Sensors
0017     KF6::CoreAddons
0018     KF6::ConfigCore
0019     KF6::ConfigGui
0020     KF6::I18n
0021     KF6::Notifications
0022     KF6::Screen
0023 )
0024 
0025 set_property(TARGET screenrotationplugin PROPERTY LIBRARY_OUTPUT_DIRECTORY ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/org/kde/plasma/quicksetting/screenrotation)
0026 file(COPY qmldir DESTINATION ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/org/kde/plasma/quicksetting/screenrotation)
0027 
0028 install(TARGETS screenrotationplugin DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/plasma/quicksetting/screenrotation)
0029 install(FILES qmldir ${qml_SRC} DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/plasma/quicksetting/screenrotation)
0030 
0031 plasma_install_package(package org.kde.plasma.quicksetting.screenrotation quicksettings)
0032 
0033