SConscript didn't fail when protobuffers version was insufficient (Thanks yobiSource)
This commit is contained in:
parent
08854d9f6b
commit
43c2e3a291
@ -141,7 +141,8 @@ if not (conf.CheckBoost('1.37')):
|
|||||||
Exit(-1);
|
Exit(-1);
|
||||||
#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')):
|
||||||
if not (env.Detect('protoc')):
|
print 'libprotobuf version >= 2.3.0 needed'
|
||||||
|
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