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.
30 lines
500 B
CMake
30 lines
500 B
CMake
set(CMAKE_AUTOUIC ON)
|
|
set(CMAKE_AUTOMOC ON)
|
|
set(CMAKE_AUTORCC ON)
|
|
|
|
set(PROJECT_SOURCES
|
|
main.cpp
|
|
application.cpp
|
|
authenticator.cpp
|
|
kcheckpass-enums.h
|
|
fixx11h.h
|
|
qml.qrc
|
|
)
|
|
|
|
add_executable(cutefish-screenlocker
|
|
${PROJECT_SOURCES}
|
|
)
|
|
|
|
target_link_libraries(cutefish-screenlocker
|
|
PRIVATE
|
|
Qt5::Core
|
|
Qt5::DBus
|
|
Qt5::Widgets
|
|
Qt5::X11Extras
|
|
Qt5::Quick
|
|
|
|
${X11_LIBRARIES}
|
|
)
|
|
|
|
install(TARGETS cutefish-screenlocker RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
|