return an error if no VS or MSVC is found
[platform/upstream/libSkiaSharp.git] / gn / find_windk.py
index d90a613..4489464 100644 (file)
@@ -26,5 +26,4 @@ else:
     if os.path.exists(root + edition):
       print root + edition
       sys.exit(0)
-  # fall back to the "default"
-  print 'C:/Program Files (x86)/Microsoft Visual Studio/2017/' + editions[0]
+  sys.exit(1)