You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
698 B
CMake
31 lines
698 B
CMake
set(SCREEN_SRCS
|
|
common/control.cpp
|
|
common/globals.cpp
|
|
common/orientation_sensor.cpp
|
|
common/utils.cpp
|
|
confighandler.cpp
|
|
outputmodel.cpp
|
|
plugin.cpp
|
|
screen.cpp
|
|
)
|
|
|
|
find_package(KF5Screen REQUIRED)
|
|
find_package(KF5KIO REQUIRED)
|
|
find_package(Qt5 REQUIRED COMPONENTS Test Sensors)
|
|
|
|
add_library(cutefishscreen_qmlplugins SHARED ${SCREEN_SRCS})
|
|
|
|
target_link_libraries (cutefishscreen_qmlplugins
|
|
Qt5::Core
|
|
Qt5::Quick
|
|
Qt5::Gui
|
|
Qt5::DBus
|
|
Qt5::Sensors
|
|
Qt5::Test
|
|
|
|
KF5::Screen
|
|
KF5::KIOCore
|
|
)
|
|
|
|
install(TARGETS cutefishscreen_qmlplugins DESTINATION ${INSTALL_QMLDIR}/Cutefish/Screen)
|
|
install(FILES qmldir DESTINATION ${INSTALL_QMLDIR}/Cutefish/Screen) |