Skip to content
Snippets Groups Projects
Commit 02c78a3c authored by Marco Clemencic's avatar Marco Clemencic
Browse files

Use argument of --platform if specified in conjunction with --wrap

parent 13c25d37
No related branches found
No related tags found
1 merge request!19Use argument of --platform if specified in conjunction with --wrap
...@@ -191,7 +191,8 @@ if opts.wrap: ...@@ -191,7 +191,8 @@ if opts.wrap:
opts.directory = os.environ.get('WORKSPACE') or os.environ['HOME'] opts.directory = os.environ.get('WORKSPACE') or os.environ['HOME']
opts.workdir = os.getcwd() opts.workdir = os.getcwd()
opts.quiet_env = True opts.quiet_env = True
opts.platform = os.environ.get('CMTCONFIG', DEFAULT_PLATFORM) opts.platform = opts.platform or os.environ.get('CMTCONFIG',
DEFAULT_PLATFORM)
if 'CMAKE_PREFIX_PATH' in os.environ: if 'CMAKE_PREFIX_PATH' in os.environ:
opts.env.append('CMAKE_PREFIX_PATH') opts.env.append('CMAKE_PREFIX_PATH')
if 'CCACHE_DIR' in os.environ: if 'CCACHE_DIR' in os.environ:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment