mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
libraries/ogre: Do not use hardcoded path.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
7ec2caf9ba
commit
4afcc93f9e
1 changed files with 2 additions and 1 deletions
|
@ -80,8 +80,9 @@ find -L . \
|
||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
tar xvf $CWD/imgui-$IMGUIVER.tar.gz
|
tar xvf $CWD/imgui-$IMGUIVER.tar.gz
|
||||||
|
export "PATH=/opt/cmake-202x/bin:$PATH"
|
||||||
CXXFLAGS+=' -Wno-deprecated-declarations' \
|
CXXFLAGS+=' -Wno-deprecated-declarations' \
|
||||||
/opt/cmake-202x/bin/cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
-DOGRE_LIB_DIRECTORY=lib${LIBDIRSUFFIX} \
|
-DOGRE_LIB_DIRECTORY=lib${LIBDIRSUFFIX} \
|
||||||
-DOGRE_BUILD_SAMPLES=$OGRE_BUILD_SAMPLES \
|
-DOGRE_BUILD_SAMPLES=$OGRE_BUILD_SAMPLES \
|
||||||
|
|
Loading…
Reference in a new issue