Skip to content

Commit

Permalink
Supports cmake default generators sign.
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaumeblanc committed Jul 2, 2019
1 parent cd34976 commit bc65853
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build-helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ def FindGenerators():
process = subprocess.Popen(['cmake', '--help'], stdout=subprocess.PIPE)
stdout = process.communicate()[0]
sub_stdout = stdout[stdout.rfind('Generators'):]
matches = re.findall(r"\s*(.+)\s*=.+", sub_stdout, re.MULTILINE)
matches = re.findall(r"\s*\**\s*(.+)\s*=.+", sub_stdout, re.MULTILINE)
# Fills generators list
global generators
for match in matches:
Expand Down

0 comments on commit bc65853

Please sign in to comment.