Skip to content

Commit 4c23f79

Browse files
authored
fix: find protobuf with CONFIG to correctly build in macos 12 #287
As titled.
1 parent cbd8c6f commit 4c23f79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graphlearn/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ if (WITH_VINEYARD)
135135
endif ()
136136

137137
## protobuf and gRPC package
138-
find_package (Protobuf QUIET)
138+
find_package (Protobuf CONFIG QUIET)
139139
if (NOT Protobuf_FOUND)
140140
set (gRPC_INSTALL_DIR ${THIRD_PARTY_DIR}/grpc/build)
141141
list (APPEND CMAKE_PREFIX_PATH ${gRPC_INSTALL_DIR})

0 commit comments

Comments
 (0)