update install command

This commit is contained in:
Kevin Yue
2021-09-13 12:51:14 +08:00
parent 1fab2a1439
commit deddefc72a
5 changed files with 22 additions and 6 deletions

View File

@@ -1,4 +1,4 @@
project(gpclient)
project(GPClient)
set(gpclient_GENERATED_SOURCES)
@@ -21,6 +21,10 @@ add_executable(gpclient
samlloginwindow.cpp
gpclient.cpp
settingsdialog.cpp
gpclient.ui
normalloginwindow.ui
settingsdialog.ui
resources.qrc
${gpclient_GENERATED_SOURCES}
)
@@ -34,4 +38,8 @@ target_link_libraries(gpclient
Qt5::WebEngine
Qt5::WebEngineWidgets
Qt5::DBus
)
)
install(TARGETS gpclient DESTINATION bin)
install(FILES com.yuezk.qt.gpclient.desktop DESTINATION share/applications)
install(FILES com.yuezk.qt.GPClient.svg DESTINATION share/pixmaps)