Explicitly use Unix Makefiles when building on Windows.
This commit is contained in:
parent
3630d7ef75
commit
918b451b7e
@ -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 ../..
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user