-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path3rdparty.pri
68 lines (59 loc) · 1.5 KB
/
3rdparty.pri
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
win32{
contains(QT_ARCH, i386) {
vcpkg_path = C:/vcpkg/installed/x86-windows
} else:contains(QT_ARCH, arm64) {
vcpkg_path = C:/vcpkg/installed/arm64-windows
} else {
vcpkg_path = C:/vcpkg/installed/x64-windows
}
}
macx{
contains(QMAKE_APPLE_DEVICE_ARCHS, arm64) {
vcpkg_path = /usr/local/share/vcpkg/installed/arm64-osx
} else {
vcpkg_path = /usr/local/share/vcpkg/installed/x64-osx
}
}
unix:!macx{
contains(QT_ARCH, arm64) {
vcpkg_path = /usr/local/share/vcpkg/installed/arm64-linux
}else{
vcpkg_path = /usr/local/share/vcpkg/installed/x64-linux
}
}
message("QT_ARCH: "$$QT_ARCH)
message("vcpkg_path: "$$vcpkg_path)
CONFIG(debug, debug|release) {
LIBS += -L$$vcpkg_path/debug/lib \
-llibbreakpad_clientd -llibbreakpadd
}else{
LIBS += -L$$vcpkg_path/lib \
-llibbreakpad_client -llibbreakpad
}
LIBS += -lvcpkg_crashpad_client_common -lvcpkg_crashpad_client -lvcpkg_crashpad_util -lvcpkg_crashpad_base
INCLUDEPATH += \
$$vcpkg_path/include \
$$vcpkg_path/include/crashpad
# for crashpad
win32{
CONFIG(debug, debug|release) {
LIBS += -lzlibd
}else{
LIBS += -lzlib
}
DEFINES += NOMINMAX
LIBS += -lAdvapi32
}
unix{
LIBS += -lz
}
macx{
LIBS += \
-lbsm \
-lmig_output \
-framework ApplicationServices \
-framework CoreFoundation \
-framework Foundation \
-framework IOKit \
-framework Security
}