fix cmake generator
@@ -11,7 +11,7 @@ elif [[ $target_platform == "win-64" ]]; then
export CC=$BUILD_PREFIX/Library/bin/clang-cl.exe
export CXX=$BUILD_PREFIX/Library/bin/clang-cl.exe
export LIBRARY_PREFIX=$PREFIX/Library
- export EXTRA_CMAKE_ARGS="-G \"MSYS Makefiles\""
+ export CMAKE_GENERATOR="MSYS Makefiles"
else
export CC=$BUILD_PREFIX/bin/clang
export CXX=$BUILD_PREFIX/bin/clang++
@@ -21,10 +21,10 @@ fi
PIP_NO_INDEX= pip install lit
cmake \
+ -G "${CMAKE_GENERATOR}" \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=$LIBRARY_PREFIX \
-DCMAKE_PREFIX_PATH=$LIBRARY_PREFIX \
- $EXTRA_CMAKE_ARGS \
..
make -j${CPU_COUNT}
