Fix glslang install.
This commit is contained in:
parent
c833cc544d
commit
b1b26e644f
@ -40,12 +40,15 @@ build_repo() {
|
|||||||
mkdir -p $1/build
|
mkdir -p $1/build
|
||||||
cd $1/build
|
cd $1/build
|
||||||
if type ninja >/dev/null 2>&1 ; then
|
if type ninja >/dev/null 2>&1 ; then
|
||||||
cmake .. -G Ninja -D CMAKE_BUILD_TYPE=Release
|
cmake -G Ninja -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX=install ..
|
||||||
ninja
|
ninja
|
||||||
else
|
else
|
||||||
cmake .. -D CMAKE_BUILD_TYPE=Release
|
cmake -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX=install ..
|
||||||
make
|
make
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
make install
|
||||||
|
|
||||||
cd -
|
cd -
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user