mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
Add Linux install target for qtox and qtox.desktop
Implement the idea in #2622 Thanks to @subliun for the original code
This commit is contained in:
parent
fe3fa2f751
commit
2223640fcb
5
qtox.pro
5
qtox.pro
|
@ -162,6 +162,11 @@ win32 {
|
|||
LIBS += -llibjpeg -llibwebp -llibpng -llibtiff -llibjasper -lIlmImf
|
||||
LIBS += -lopus -lvpx -lsodium -lopenal
|
||||
} else {
|
||||
target.path = /usr/bin
|
||||
desktop.path = /usr/share/applications
|
||||
desktop.files += qTox.desktop
|
||||
INSTALLS += target desktop
|
||||
|
||||
# If we're building a package, static link libtox[core,av] and libsodium, since they are not provided by any package
|
||||
contains(STATICPKG, YES) {
|
||||
target.path = /usr/bin
|
||||
|
|
Loading…
Reference in New Issue
Block a user