Commit 0214b7e1 authored by Samuel Debionne's avatar Samuel Debionne

Fix install under windows

parent ce94c19f
......@@ -327,7 +327,9 @@ class CMakeOptions:
return self.get_cmd_line_from_options(opts)
def get_install_options(self):
opts = ['--build .', '--target install']
opts = ['--build .', '--target install']
if OS_TYPE == 'Windows':
opts += ['--config %s' % self.cfg.get('build-type')]
return self.get_cmd_line_from_options(opts)
@staticmethod
......
Markdown is supported
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