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.
core/sddm-helper/CMakeLists.txt

25 lines
553 B
CMake

project(cutefish-sddm-helper)
set(PROJECT_NAME cutefish-sddm-helper)
set(SRCS
main.cpp
)
add_executable(${PROJECT_NAME}
${SRCS}
)
target_link_libraries(${PROJECT_NAME}
Qt5::Core
Qt5::Gui
)
configure_file(
com.cutefish.sddm.helper.pkexec.policy.in
com.cutefish.sddm.helper.pkexec.policy
@ONLY
)
install(TARGETS ${PROJECT_NAME} RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/com.cutefish.sddm.helper.pkexec.policy DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/polkit-1/actions/)