Fixed config file not being used.
This commit is contained in:
parent
55f57d55e6
commit
3f4dbaf11e
@ -172,6 +172,9 @@ default_CXX = {
|
||||
'msvc': 'cl.exe'
|
||||
}.get(compiler, None)
|
||||
|
||||
if not os.path.isabs(config_file):
|
||||
config_file = os.path.join(Dir('#').abspath, config_file)
|
||||
|
||||
vars = Variables(config_file)
|
||||
vars.Add('CC', 'The C Compiler', default_CC)
|
||||
vars.Add('CXX', 'The C++ Compiler', default_CXX)
|
||||
|
Loading…
x
Reference in New Issue
Block a user