mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
fix(build): add an option to compile with autotools toxcore on Windows
This commit is contained in:
parent
1fc412df72
commit
482757e6a2
18
qtox.pro
18
qtox.pro
|
@ -97,6 +97,7 @@ contains(DISABLE_PLATFORM_EXT, YES) {
|
||||||
|
|
||||||
contains(JENKINS,YES) {
|
contains(JENKINS,YES) {
|
||||||
INCLUDEPATH += ./libs/include/
|
INCLUDEPATH += ./libs/include/
|
||||||
|
TOX_CMAKE = YES
|
||||||
} else {
|
} else {
|
||||||
INCLUDEPATH += libs/include
|
INCLUDEPATH += libs/include
|
||||||
}
|
}
|
||||||
|
@ -128,13 +129,6 @@ win32 {
|
||||||
-ltoxav \
|
-ltoxav \
|
||||||
-ltoxcore \
|
-ltoxcore \
|
||||||
-ltoxencryptsave \
|
-ltoxencryptsave \
|
||||||
-ltoxgroup \
|
|
||||||
-ltoxmessenger \
|
|
||||||
-ltoxfriends \
|
|
||||||
-ltoxnetcrypto \
|
|
||||||
-ltoxdht \
|
|
||||||
-ltoxnetwork \
|
|
||||||
-ltoxcrypto \
|
|
||||||
-lsodium \
|
-lsodium \
|
||||||
-lvpx \
|
-lvpx \
|
||||||
-lpthread \
|
-lpthread \
|
||||||
|
@ -158,6 +152,16 @@ win32 {
|
||||||
-lshlwapi \
|
-lshlwapi \
|
||||||
-luuid
|
-luuid
|
||||||
LIBS += -lstrmiids # For DirectShow
|
LIBS += -lstrmiids # For DirectShow
|
||||||
|
|
||||||
|
contains(TOX_CMAKE, YES) {
|
||||||
|
LIBS += -ltoxgroup \
|
||||||
|
-ltoxmessenger \
|
||||||
|
-ltoxfriends \
|
||||||
|
-ltoxnetcrypto \
|
||||||
|
-ltoxdht \
|
||||||
|
-ltoxnetwork \
|
||||||
|
-ltoxcrypto
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
macx {
|
macx {
|
||||||
BUNDLEID = chat.tox.qtox
|
BUNDLEID = chat.tox.qtox
|
||||||
|
|
Loading…
Reference in New Issue
Block a user