Explicitly use Unix Makefiles when building on Windows.

This commit is contained in:
Hans-Kristian Arntzen 2017-12-11 13:22:55 +01:00
parent 3630d7ef75
commit 918b451b7e

View File

@ -21,7 +21,7 @@ cd ../..
echo "Building glslang." echo "Building glslang."
mkdir -p external/glslang-build mkdir -p external/glslang-build
cd external/glslang-build cd external/glslang-build
cmake ../glslang -DCMAKE_BUILD_TYPE=Release cmake ../glslang -DCMAKE_BUILD_TYPE=Release -G"Unix Makefiles"
make -j$(nproc) make -j$(nproc)
cd ../.. cd ../..
@ -51,7 +51,7 @@ cd ../..
echo "Building SPIRV-Tools." echo "Building SPIRV-Tools."
mkdir -p external/spirv-tools-build mkdir -p external/spirv-tools-build
cd external/spirv-tools-build cd external/spirv-tools-build
cmake ../spirv-tools -DCMAKE_BUILD_TYPE=Release cmake ../spirv-tools -DCMAKE_BUILD_TYPE=Release -G"Unix Makefiles"
make -j$(nproc) make -j$(nproc)
cd ../.. cd ../..