aboutsummaryrefslogtreecommitdiff
path: root/libraries/ogre
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-01-09 23:20:07 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-01-17 08:44:54 +0700
commit4afcc93f9e74b54979e769a62bc30219523a188a (patch)
tree7074788ea9833357f3f4189e66bf0f865c7aa0a6 /libraries/ogre
parent7ec2caf9baf71995123f3011fbf0b581ce0bba77 (diff)
libraries/ogre: Do not use hardcoded path.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/ogre')
-rw-r--r--libraries/ogre/ogre.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/libraries/ogre/ogre.SlackBuild b/libraries/ogre/ogre.SlackBuild
index 01049e81fa777..277ea64fb467c 100644
--- a/libraries/ogre/ogre.SlackBuild
+++ b/libraries/ogre/ogre.SlackBuild
@@ -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 \