From a2bd5fdbf44ea241afd11733ac61c32012dce0b8 Mon Sep 17 00:00:00 2001 From: kyab Date: Sat, 5 Apr 2014 19:41:36 +0900 Subject: Add detection of VC++2010 in build_config.rb --- build_config.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build_config.rb') diff --git a/build_config.rb b/build_config.rb index e8d07769d..991a6bfb3 100644 --- a/build_config.rb +++ b/build_config.rb @@ -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 -- cgit v1.2.3