aboutsummaryrefslogtreecommitdiffstats
path: root/examples/cmake_simple
diff options
context:
space:
mode:
Diffstat (limited to 'examples/cmake_simple')
-rw-r--r--examples/cmake_simple/simple.proto2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/cmake_simple/simple.proto b/examples/cmake_simple/simple.proto
index 26e72f46..5c73a3b2 100644
--- a/examples/cmake_simple/simple.proto
+++ b/examples/cmake_simple/simple.proto
@@ -1,6 +1,8 @@
// A very simple protocol definition, consisting of only
// one message.
+syntax = "proto2";
+
message SimpleMessage {
required int32 lucky_number = 1;
}