Prevent cmake from using clangdev to build hoomd
@@ -5,6 +5,12 @@ rm -rf ./*
export CPATH=${PREFIX}/include
export TBB_LINK=${PREFIX}/lib
+if [ "$(uname)" == "Darwin" ]; then
+ # prevent cmake from using the conda package clangdev for building
+ export CC=/usr/bin/gcc
+ export CXX=/usr/bin/g++
+fi
+
cmake ../ \
-DCMAKE_INSTALL_PREFIX=${SP_DIR} \
-DPYTHON_EXECUTABLE=${PYTHON} \
