Skip to content

Commit

Permalink
Merge pull request #2292 from murgatroid99/grpc-tools_mac_deployment_…
Browse files Browse the repository at this point in the history
…fixes_2

grpc-tools: Build for an older Mac version (attempt 2)
  • Loading branch information
murgatroid99 committed Dec 5, 2022
2 parents c92d3d5 + 11aa722 commit 2900c00
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/grpc-tools/CMakeLists.txt
@@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.7)
set(CMAKE_OSX_DEPLOYMENT_TARGET "11.7" CACHE STRING "Minimum OS X deployment version")
set(CMAKE_OSX_DEPLOYMENT_TARGET "11.7" CACHE STRING "Minimum OS X deployment version" FORCE)
if(COMMAND cmake_policy)
cmake_policy(SET CMP0003 NEW)
endif(COMMAND cmake_policy)
Expand Down
1 change: 1 addition & 0 deletions packages/grpc-tools/build_binaries.sh
Expand Up @@ -70,6 +70,7 @@ case $(uname -s) in
mkdir $base/build/bin/$arch
for bin in protoc grpc_node_plugin; do
lipo -extract x86_64 $base/build/bin/$bin -o $base/build/bin/$arch/$bin
otool -l $base/build/bin/$arch/$bin | grep minos
done
artifacts darwin $arch $base/build/bin/$arch/
done
Expand Down

0 comments on commit 2900c00

Please sign in to comment.