mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2025-04-02 18:31:50 -04:00
improve cmake file
This commit is contained in:
parent
3d9e416d77
commit
1dbb4df5f3
@ -1,4 +1,4 @@
|
||||
cmake_minimum_required(VERSION 3.14.0)
|
||||
cmake_minimum_required(VERSION 3.7.0)
|
||||
|
||||
project(GlobalProtect-openconnect VERSION 1.3.3 LANGUAGES CXX)
|
||||
|
||||
|
@ -70,7 +70,7 @@ target_link_libraries(gpclient
|
||||
Qt5::DBus
|
||||
)
|
||||
|
||||
# target_compile_definitions(gpclient PUBLIC QAPPLICATION_CLASS=QApplication)
|
||||
target_compile_definitions(gpclient PUBLIC QAPPLICATION_CLASS=QApplication)
|
||||
|
||||
install(TARGETS gpclient DESTINATION "/usr/bin")
|
||||
install(FILES com.yuezk.qt.gpclient.desktop DESTINATION "/usr/share/applications")
|
||||
|
@ -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" )
|
||||
|
Loading…
Reference in New Issue
Block a user