diff --git a/setup.py b/setup.py index 5e89069..dca81c0 100644 --- a/setup.py +++ b/setup.py @@ -169,6 +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"], '-DENABLE_OPENMP=ON','-DINTERNAL_BOOST=ON','-DINTERNAL_EIGEN=ON', '-DINTERNAL_HDF5=ON','-DINTERNAL_NETCDF=ON', '-DBUILD_PYTHON=ON', '-DINSTALL_PYTHON_LOCAL=OFF',