Qv2ray/makespec/04-unix-macOS.pri
ymshenyu cf25d760c7
Re-enable grpc support for mac (#386) by @ymshenyu
* re-enable grpc support for mac

* update -1

* update -2

* update -3

* update -4

* update build version

* DONE
2020-03-01 00:09:25 +08:00

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
}