Setting CMAKE_OSX_SYSROOT explicitly should not be needed
@@ -8,8 +8,7 @@ export CMAKE_LIBRARY_PATH=$PREFIX/lib
cmake $CMAKE_ARGS \
-DCMAKE_BUILD_TYPE="Release" \
-DCMAKE_INSTALL_PREFIX="$PREFIX" \
- -DCMAKE_PREFIX_PATH="${PREFIX}" \
- -DCMAKE_OSX_SYSROOT="${SDKROOT}" \
+ -DCMAKE_PREFIX_PATH="$PREFIX" \
..
make -j$CPU_COUNT
