Fix CMake installation and enable biicode build

This commit is contained in:
Victor Zverovich
2015-03-04 07:07:13 -08:00
parent 0dd1f19281
commit a6864a7264
3 changed files with 9 additions and 5 deletions

View File

@@ -94,7 +94,7 @@ def install_cmake(package, **kwargs):
if platform.system() == 'Darwin':
dir = glob.glob(os.path.join(dir, 'CMake*.app', 'Contents'))[0]
cmake_path = os.path.join(dir, 'bin', 'cmake')
if install_dir != '.':
if install_dir != '.' and kwargs.get('add_to_path', True):
add_to_path(cmake_path)
return cmake_path