1
0
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:
sudden6 2017-01-15 11:09:47 +01:00
parent 1fc412df72
commit 482757e6a2
No known key found for this signature in database
GPG Key ID: 279509B499E032B9

View File

@ -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