Commit a2bd5fdb authored by kyab's avatar kyab

Add detection of VC++2010 in build_config.rb

parent 237feb7d
......@@ -2,7 +2,7 @@ MRuby::Build.new do |conf|
# load specific toolchain settings
# Gets set by the VS command prompts.
if ENV['VisualStudioVersion']
if ENV['VisualStudioVersion'] || ENV['VSINSTALLDIR']
toolchain :visualcpp
else
toolchain :gcc
......
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