Set VERBOSE if --verbose

You tend to get more useful build output this way, and (more importantly?), superenv itself only outputs certain things if VERBOSE is set.
This commit is contained in:
Max Howell 2012-08-31 10:21:44 -04:00
parent 2856a97ce3
commit 6c6e82a721

View File

@ -51,6 +51,7 @@ class << ENV
ENV['CMAKE_FRAMEWORK_PATH'] = "#{MacOS.sdk_path}/System/Library/Frameworks" if MacSystem.xcode43_without_clt? ENV['CMAKE_FRAMEWORK_PATH'] = "#{MacOS.sdk_path}/System/Library/Frameworks" if MacSystem.xcode43_without_clt?
ENV['CMAKE_INCLUDE_PATH'] = determine_cmake_include_path ENV['CMAKE_INCLUDE_PATH'] = determine_cmake_include_path
ENV['ACLOCAL_PATH'] = determine_aclocal_path ENV['ACLOCAL_PATH'] = determine_aclocal_path
ENV['VERBOSE'] = '1' if ARGV.verbose?
end end
def universal_binary def universal_binary