mirror of
https://github.com/Qv2ray/Qv2ray.git
synced 2025-05-20 10:50:23 +08:00
[fix] Added macOS frameworks
This commit is contained in:
parent
ba4769581c
commit
a9da9824f7
@ -229,9 +229,16 @@ win32 {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
macx {
|
||||||
|
# For Linux and macOS
|
||||||
|
message("Configuring for macOS specific environment")
|
||||||
|
LIBS += -framework Carbon -framework Cocoa
|
||||||
|
}
|
||||||
|
|
||||||
|
# Reuse unix for macx as well
|
||||||
unix {
|
unix {
|
||||||
# For Linux and macOS
|
# For Linux and macOS
|
||||||
message("Configuring for unix-like (macOS and linux) environment")
|
message("Configuring for unix-like environment")
|
||||||
# For gRPC and protobuf in linux and macOS
|
# For gRPC and protobuf in linux and macOS
|
||||||
message(" --> Linking against gRPC and protobuf library.")
|
message(" --> Linking against gRPC and protobuf library.")
|
||||||
LIBS += -L/usr/local/lib -lgrpc++ -lprotobuf -lgrpc -lgpr
|
LIBS += -L/usr/local/lib -lgrpc++ -lprotobuf -lgrpc -lgpr
|
||||||
|
Loading…
Reference in New Issue
Block a user