Skip to content
Snippets Groups Projects
Commit d01eef7d authored by Martin Bauer's avatar Martin Bauer
Browse files

Config reading bugfix for windows builds

parent e02094a3
No related merge requests found
...@@ -181,6 +181,8 @@ def read_config(): ...@@ -181,6 +181,8 @@ def read_config():
if config['compiler']['os'] == 'windows': if config['compiler']['os'] == 'windows':
from pystencils.cpu.msvc_detection import get_environment from pystencils.cpu.msvc_detection import get_environment
msvc_env = get_environment(config['compiler']['msvc_version'], config['compiler']['arch']) msvc_env = get_environment(config['compiler']['msvc_version'], config['compiler']['arch'])
if 'env' not in config['compiler']:
config['compiler']['env'] = {}
config['compiler']['env'].update(msvc_env) config['compiler']['env'].update(msvc_env)
return config return config
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment