Skip to content

Commit b342ede

Browse files
authored
Merge pull request #233807 from Homebrew/protobuf-update-flags
protobuf: update CMake flags
2 parents 2a18516 + fc3fedd commit b342ede

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Formula/p/protobuf.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ def install
4343
-Dprotobuf_INSTALL_EXAMPLES=ON
4444
-Dprotobuf_BUILD_TESTS=ON
4545
-Dprotobuf_USE_EXTERNAL_GTEST=ON
46-
-Dprotobuf_ABSL_PROVIDER=package
47-
-Dprotobuf_JSONCPP_PROVIDER=package
46+
-Dprotobuf_FORCE_FETCH_DEPENDENCIES=OFF
47+
-Dprotobuf_LOCAL_DEPENDENCIES_ONLY=ON
4848
]
4949

5050
system "cmake", "-S", ".", "-B", "build", *cmake_args, *std_cmake_args

0 commit comments

Comments
 (0)