Fix syntax error in set_compiler
This commit is contained in:
parent
0a5db99852
commit
4ab61d591a
1 changed files with 2 additions and 2 deletions
|
@ -70,8 +70,8 @@ def get_bool_argument(arg):
|
|||
|
||||
|
||||
def set_compiler(env, var, user_compiler, compilers, compiler_string=None):
|
||||
if not string:
|
||||
string = 'compiler'
|
||||
if not compiler_string:
|
||||
compiler_string = 'compiler'
|
||||
if user_compiler:
|
||||
if which(user_compiler):
|
||||
env[var] = user_compiler
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue