Commit eccfd6e5 authored by Ehsan Azarnasab's avatar Ehsan Azarnasab

fix argument parsing for cmake option

parent 78203d36
...@@ -72,7 +72,7 @@ def _get_options(): ...@@ -72,7 +72,7 @@ def _get_options():
# parse commandline options and consume those we care about # parse commandline options and consume those we care about
for opt_idx, arg in enumerate(sys.argv): for opt_idx, arg in enumerate(sys.argv):
if opt_key == 'cmake': if opt_key == 'cmake':
_cmake_path = opt _cmake_path = arg
if opt_key: if opt_key:
sys.argv.remove(arg) sys.argv.remove(arg)
......
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