improve cmake file

This commit is contained in:
Kevin Yue
2021-09-15 13:41:00 +08:00
parent 3d9e416d77
commit 1dbb4df5f3
3 changed files with 5 additions and 5 deletions

View File

@@ -49,7 +49,7 @@ target_link_libraries(gpservice
Qt5::DBus
)
# target_compile_definitions(gpservice PUBLIC QAPPLICATION_CLASS=QCoreApplication)
target_compile_definitions(gpservice PUBLIC QAPPLICATION_CLASS=QCoreApplication)
install(TARGETS gpservice DESTINATION "/usr/bin")
install(FILES "dbus/com.yuezk.qt.GPService.conf" DESTINATION "/usr/share/dbus-1/system.d" )