From e9cfe94dfddc8adf8052c75f0edc2e92ffef09cc Mon Sep 17 00:00:00 2001 From: Dennis Luxen Date: Wed, 12 Jan 2011 19:59:29 +0000 Subject: [PATCH] Updated SConstruct to reflect new dependencies --- SConstruct | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/SConstruct b/SConstruct index d2cadc29e..c45063fee 100644 --- a/SConstruct +++ b/SConstruct @@ -42,6 +42,9 @@ if not conf.CheckHeader('omp.h'): if not conf.CheckLibWithHeader('xml2', 'libxml/xmlreader.h', 'CXX'): print "libxml2 library or header not found. Exiting" Exit(-1) +if not conf.CheckLibWithHeader('z', 'zlib.h', 'CXX'): + print "libxml2 library or header not found. Exiting" + Exit(-1) if not conf.CheckCXXHeader('stxxl.h'): print "Could not locate stxxl header. Exiting" Exit(-1) @@ -83,6 +86,9 @@ if not conf.CheckCXXHeader('boost/program_options.hpp'): if not conf.CheckLibWithHeader('stxxl', 'stxxl.h', 'CXX'): print "stxxl library not found. Exiting" Exit(-1) +if not conf.CheckLibWithHeader('protobuf', 'google/protobuf/descriptor.h', 'CXX'): + print "Google Protobuffer library not found. Exiting" + Exit(-1) env.Append(CCFLAGS = ' -fopenmp') env.Append(LINKFLAGS = ' -fopenmp')