Set CMAKE_ROOT

This commit is contained in:
Victor Zverovich 2015-03-04 08:01:56 -08:00
parent 5ad6c6bd7f
commit 38b5f573dd

View File

@ -28,4 +28,5 @@ for f in glob.glob('support/biicode/*'):
shutil.copy(f, cppformat_dir)
env = os.environ.copy()
env['PATH'] = os.path.abspath(os.path.dirname(cmake_program)) + ':' + env['PATH']
env['CMAKE_ROOT'] = os.path.abspath(cmake_dir)
check_call(['bii', 'cpp:build'], cwd=project_dir, env=env)