Add detection of VC++2010 in build_config.rb

This commit is contained in:
kyab
2014-04-05 19:41:36 +09:00
parent 237feb7d39
commit a2bd5fdbf4
+1 -1
View File
@@ -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