summaryrefslogtreecommitdiffstats
path: root/scons/SConstruct.common
diff options
context:
space:
mode:
Diffstat (limited to 'scons/SConstruct.common')
-rw-r--r--scons/SConstruct.common6
1 files changed, 2 insertions, 4 deletions
diff --git a/scons/SConstruct.common b/scons/SConstruct.common
index d9915b9..ed896d0 100644
--- a/scons/SConstruct.common
+++ b/scons/SConstruct.common
@@ -243,10 +243,8 @@ class SConstructHelper:
# Invokes SConscript with variant_dir being build/<config name>.
# Counter-intuitively, src_dir is relative to the build dir and has
# to be '..' to point to the scons directory.
- SConscript('SConscript',
- src_dir='..',
- variant_dir=env['BUILD_DIR'],
- duplicate=0)
+ VariantDir(env['BUILD_DIR'], src_dir='../..', duplicate=0);
+ SConscript(env['BUILD_DIR'] + '/gtest/scons/SConscript')
sconstruct_helper = SConstructHelper()