mirror of
https://github.com/Qv2ray/Qv2ray.git
synced 2025-05-19 10:20:49 +08:00

* re-enable grpc support for mac * update -1 * update -2 * update -3 * update -4 * update build version * DONE
17 lines
508 B
Plaintext
17 lines
508 B
Plaintext
message(" ")
|
|
|
|
# For Linux and macOS
|
|
message("Configuring for macOS specific environment")
|
|
LIBS += -framework Carbon -framework Cocoa
|
|
message(" --> Linking Security framework, for macOS platform.")
|
|
LIBS += -framework Security
|
|
|
|
use_grpc {
|
|
# For gRPC and protobuf in macOS
|
|
message(" --> Linking against gRPC library.")
|
|
LIBS += -L/usr/local/lib -lgrpc++ -lgrpc -lgpr -lupb
|
|
} else {
|
|
message(" --> Linking libqvb static library, for macOS platform.")
|
|
LIBS += -L$$PWD/../libs/ -lqvb-darwin
|
|
}
|