lib/autobuild/packages/cmake.rb in autobuild-1.10.0.rc6 vs lib/autobuild/packages/cmake.rb in autobuild-1.10.0.rc7

- old
+ new

@@ -307,9 +307,16 @@ end end result end + def update_environment + super + prefix_path.each do |p| + env_add_path 'CMAKE_PREFIX_PATH', p + end + end + def prepare # A failed initial CMake configuration leaves a CMakeCache.txt file, # but no Makefile. # # Delete the CMakeCache to force reconfiguration