mirror of https://github.com/cutefishos/core
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.
22 lines
454 B
CMake
22 lines
454 B
CMake
project(cutefish-screen-brightness)
|
|
set(PROJECT_NAME cutefish-screen-brightness)
|
|
|
|
set(SRCS
|
|
main.cpp
|
|
brightnesshelper.h
|
|
brightnesshelper.cpp
|
|
)
|
|
|
|
add_executable(${PROJECT_NAME}
|
|
${SRCS}
|
|
)
|
|
|
|
target_link_libraries(${PROJECT_NAME}
|
|
Qt5::Core
|
|
Qt5::Gui
|
|
Qt5::Widgets
|
|
)
|
|
|
|
install(TARGETS ${PROJECT_NAME} RUNTIME DESTINATION /usr/bin)
|
|
install(FILES org.cutefish.brightness.pkexec.policy DESTINATION /usr/share/polkit-1/actions/)
|