Abort build if protobuf is too old
This commit is contained in:
parent
d29a27cca7
commit
2c6e68dda7
@ -142,6 +142,7 @@ if not (conf.CheckBoost('1.37')):
|
|||||||
#check for protobuf 2.3.0, else rebuild proto files
|
#check for protobuf 2.3.0, else rebuild proto files
|
||||||
if not (conf.CheckProtobuf('2.3.0')):
|
if not (conf.CheckProtobuf('2.3.0')):
|
||||||
print 'libprotobuf version >= 2.3.0 needed'
|
print 'libprotobuf version >= 2.3.0 needed'
|
||||||
|
Exit(-1);
|
||||||
if not (env.Detect('protoc')):
|
if not (env.Detect('protoc')):
|
||||||
print 'protobuffer compiler not found'
|
print 'protobuffer compiler not found'
|
||||||
Exit(-1);
|
Exit(-1);
|
||||||
|
Loading…
Reference in New Issue
Block a user