summaryrefslogtreecommitdiffstats
path: root/scons
diff options
context:
space:
mode:
Diffstat (limited to 'scons')
-rw-r--r--scons/SConscript9
1 files changed, 5 insertions, 4 deletions
diff --git a/scons/SConscript b/scons/SConscript
index 3fcda15..8c2f9e4 100644
--- a/scons/SConscript
+++ b/scons/SConscript
@@ -96,10 +96,11 @@ __author__ = 'joi@google.com (Joi Sigurdsson)'
Import('env')
env = env.Clone()
-# Include paths to gtest headers are relative to a directory two above
-# the gtest directory itself, and this SConscript file is one
-# directory deeper than the gtest directory.
-env.Prepend(CPPPATH = ['../../..'])
+# Include paths to gtest headers are relative to either the gtest
+# directory or the 'include' subdirectory of it, and this SConscript
+# file is one directory deeper than the gtest directory.
+env.Prepend(CPPPATH = ['..',
+ '../include'])
# TODO(joi@google.com) Fix the code that causes this warning so that
# we see all warnings from the compiler about possible 64-bit porting