From ec308c1759b7de9c84d555bbac424a91ad1d5928 Mon Sep 17 00:00:00 2001 From: Guilhem Lavaux Date: Sun, 20 Sep 2020 12:08:42 +0300 Subject: [PATCH] Fix dict access --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index dca81c0..6086a36 100644 --- a/setup.py +++ b/setup.py @@ -169,7 +169,7 @@ class BuildCMakeExt(build_ext): # Below is just an example set of arguments for building Blender as a Python module self.spawn(['cmake', '-H'+SOURCE_DIR, '-B'+self.build_temp, - '-DCMAKE_C_COMPILER=' + os.env["CC"], "-DCMAKE_CXX_COMPILER=" + os.env["CXX"], + '-DCMAKE_C_COMPILER=' + os.environ["CC"], "-DCMAKE_CXX_COMPILER=" + os.environ["CXX"], '-DENABLE_OPENMP=ON','-DINTERNAL_BOOST=ON','-DINTERNAL_EIGEN=ON', '-DINTERNAL_HDF5=ON','-DINTERNAL_NETCDF=ON', '-DBUILD_PYTHON=ON', '-DINSTALL_PYTHON_LOCAL=OFF',