Abort build if protobuf is too old

This commit is contained in:
Dennis Luxen 2011-04-20 13:20:27 +00:00
parent d29a27cca7
commit 2c6e68dda7

View File

@ -142,6 +142,7 @@ if not (conf.CheckBoost('1.37')):
#check for protobuf 2.3.0, else rebuild proto files
if not (conf.CheckProtobuf('2.3.0')):
print 'libprotobuf version >= 2.3.0 needed'
Exit(-1);
if not (env.Detect('protoc')):
print 'protobuffer compiler not found'
Exit(-1);