From 38b5f573ddf0ac7eca5b406ce9834c49e54b06ea Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Wed, 4 Mar 2015 08:01:56 -0800 Subject: [PATCH] Set CMAKE_ROOT --- support/biicode-build.py | 1 + 1 file changed, 1 insertion(+) diff --git a/support/biicode-build.py b/support/biicode-build.py index 96d051ba..58c2893b 100755 --- a/support/biicode-build.py +++ b/support/biicode-build.py @@ -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)