Ignore libc++ checks
@@ -5,6 +5,11 @@ set -e
mkdir build
cd build
+if [[ "$target_platform" == "osx-64" ]]; then
+ # https://conda-forge.org/docs/maintainer/knowledge_base.html#newer-c-features-with-old-sdk
+ export CXXFLAGS="${CXXFLAGS} -D_LIBCPP_DISABLE_AVAILABILITY"
+fi
+
cmake $SRC_DIR -G"Ninja" \
-D CMAKE_BUILD_TYPE="Release" \
-D CMAKE_INSTALL_PREFIX:PATH="${PREFIX}" \
