Commit 57bf2a86 authored by Gautier Pelloux-Prayer's avatar Gautier Pelloux-Prayer
Browse files

Check if generator is set before comparing it...

parent 04b1576f
......@@ -89,7 +89,7 @@ class Target:
def build_instructions(self, debug = False):
if self.generator.startswith('Visual Studio'):
if self.generator is not None and self.generator.startswith('Visual Studio'):
config = "Release"
if debug:
config = "Debug"
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