Apply vtk workaround on linux only
mkdir -p build
cd build
+if [[ ${HOST} =~ .*linux.* ]]; then
# temporary workaround for issue https://github.com/conda-forge/vtk-feedstock/issues/86
find ${PREFIX}/lib/cmake/vtk-8.2/ -type f -print0 | xargs -0 \
sed -i 's#/home/conda/feedstock_root/build_artifacts/vtk_.*_build_env/x86_64-conda_cos6-linux-gnu/sysroot/usr/lib.*;##g'
+fi
cmake .. -G "Ninja" \
-Wno-dev \
