summaryrefslogtreecommitdiffstats
path: root/libraries
diff options
context:
space:
mode:
author Willy Sudiarto Raharjo <willysr@slackbuilds.org>2021-01-09 23:20:07 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2021-01-17 08:44:54 +0700
commit4afcc93f9e74b54979e769a62bc30219523a188a (patch)
tree7074788ea9833357f3f4189e66bf0f865c7aa0a6 /libraries
parent7ec2caf9baf71995123f3011fbf0b581ce0bba77 (diff)
downloadslackbuilds-4afcc93f9e74b54979e769a62bc30219523a188a.tar.gz
slackbuilds-4afcc93f9e74b54979e769a62bc30219523a188a.tar.xz
libraries/ogre: Do not use hardcoded path.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries')
-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 01049e81fa..277ea64fb4 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 \