Merge pull request #2015 from kyab/detect_vc2010_build_config

Add detection of VC++2010 in build_config.rb
This commit is contained in:
Yukihiro "Matz" Matsumoto
2014-04-06 00:19:43 +09:00
+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