Skip to content

Commit 1fa7302

Browse files
authored
Merge pull request #1570 from PaddlePaddle/gangliao-patch-2
Set Protobuf 3.1 in FIND_PACKAGE
2 parents aaa2a1f + 714e9bb commit 1fa7302

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/external/protobuf.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
INCLUDE(ExternalProject)
1616

17-
FIND_PACKAGE(Protobuf)
17+
FIND_PACKAGE(Protobuf 3.1)
1818

1919
IF(NOT PROTOBUF_FOUND)
2020
SET(PROTOBUF_SOURCES_DIR ${THIRD_PARTY_PATH}/protobuf)

0 commit comments

Comments
 (0)