mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-15 22:56:48 +00:00
Other: macOS 11 support.
Other: added option to force build arch on macOS. Other: got rid of linker warnings when building go with macOS 11 compatibility.
This commit is contained in:
@ -59,7 +59,7 @@ message(STATUS "protoc found ${PROTOC_EXE}")
|
||||
|
||||
message(STATUS "grpc_cpp_plugin ${grpc_cpp_plugin}")
|
||||
|
||||
find_program(GRPC_CPP_PLUGIN grpc_cpp_plugin)
|
||||
find_program(GRPC_CPP_PLUGIN grpc_cpp_plugin HINTS "${VCPKG_ROOT}/installed/arm64-osx/tools/grpc" "${VCPKG_ROOT}/installed/x64-osx/tools/grpc")
|
||||
if (NOT GRPC_CPP_PLUGIN)
|
||||
message(FATAL_ERROR "grpc_cpp_plugin exe could not be found. Please add it to your path. it should be located in \${VCPKG_ROOT}/installed/arm64-osx/tools/grpc")
|
||||
else ()
|
||||
|
||||
Reference in New Issue
Block a user