Add -DZIG_PREFER_CLANG_CPP_DYLIB=yes
set -ex
+CC=clang
+CCX=clang++
+
mkdir -p build
cd build
@@ -10,7 +13,8 @@ cmake .. ${CMAKE_ARGS} \
-DCMAKE_PREFIX_PATH=${PREFIX} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_C_COMPILER=${CC} \
- -DCMAKE_CXX_COMPILER=${CXX}
+ -DCMAKE_CXX_COMPILER=${CXX} \
+ -DZIG_PREFER_CLANG_CPP_DYLIB=yes
cmake --build .
cmake --install . -v
