libraries/ogre: Do not use hardcoded path.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Willy Sudiarto Raharjo 2021-01-09 23:20:07 +07:00
parent 7ec2caf9ba
commit 4afcc93f9e
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -80,8 +80,9 @@ find -L . \
mkdir build
cd build
tar xvf $CWD/imgui-$IMGUIVER.tar.gz
export "PATH=/opt/cmake-202x/bin:$PATH"
CXXFLAGS+=' -Wno-deprecated-declarations' \
/opt/cmake-202x/bin/cmake -DCMAKE_INSTALL_PREFIX=/usr \
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DOGRE_LIB_DIRECTORY=lib${LIBDIRSUFFIX} \
-DOGRE_BUILD_SAMPLES=$OGRE_BUILD_SAMPLES \