diff --git a/simtbx/SConscript b/simtbx/SConscript index c5c456fa37..2c8137ac2d 100644 --- a/simtbx/SConscript +++ b/simtbx/SConscript @@ -34,6 +34,7 @@ if not env_etc.no_boost_python: env_simtbx.SConscript("gpu/SConscript",exports={ 'env' : env_simtbx }) env_simtbx.SConscript("pixel/SConscript",exports={ 'env' : env_simtbx }) - # only build kokkos on linux and if kokkos is enabled - if sys.platform.startswith('linux') and env_etc.enable_kokkos: + # only build kokkos on linux/macOS and if kokkos is enabled + if (sys.platform.startswith('linux') or sys.platform == 'darwin') \ + and env_etc.enable_kokkos: env_simtbx.SConscript("kokkos/SConscript",exports={ 'env' : env_simtbx })