Skip to content

Commit af9d2f2

Browse files
committed
BUILD: add flag for building protoc plug-in
1 parent 0b43778 commit af9d2f2

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

CMakeLists.txt

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,11 +111,17 @@ option(BUILD_TESTING
111111
option(SKIP_SSL_TESTS
112112
"Skip the SSL tests"
113113
OFF)
114-
# The following test requires installing protobuf-compiler python3-protobuf
115-
# libprotobuf-devel (or protobuf-devel)
114+
# The following test requires installing packages protobuf-compiler
115+
# python3-protobuf libprotobuf-devel (or protobuf-devel):
116116
option(TEST_PROTOBUFS_PROTOC
117117
"Run protobuf tests that require protoc, etc."
118118
OFF)
119+
# The following only works on Linux, and downloads some files from
120+
# github. It may cause protobufs:bootstrap test to fail and may
121+
# require some manual editing of files in packages/protobuf (q.v.):
122+
option(BUILD_PROTOBUFS_PROTOC
123+
"Build protobuf with latest protoc"
124+
OFF)
119125
option(BUILD_SWIPL_LD
120126
"Create the swipl-ld utility"
121127
ON)

0 commit comments

Comments
 (0)