summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-01-09 23:16:01 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-01-17 08:44:52 +0700
commitc9ea40127d02707d9012b680fc89a92a8083f5a8 (patch)
tree1f0571fc256b6fa54cd5654b570930193f9c07e0
parentac9935c8c53de0ce921d570bc3e12f0a91bd69d6 (diff)
downloadslackbuilds-c9ea40127d02707d9012b680fc89a92a8083f5a8.tar.gz
academic/ITK: Do not use hardcoded path.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--academic/ITK/ITK.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/academic/ITK/ITK.SlackBuild b/academic/ITK/ITK.SlackBuild
index de88ca702f..fd9e8128f0 100644
--- a/academic/ITK/ITK.SlackBuild
+++ b/academic/ITK/ITK.SlackBuild
@@ -78,7 +78,8 @@ sed -i "s|/opj_config.h|& \$\{CMAKE_CURRENT_BINARY_DIR\}/openjpeg_mangle.h|" \
mkdir -p build
cd build
- /opt/cmake-202x/bin/cmake \
+ export "PATH=/opt/cmake-202x/bin:$PATH"
+ cmake \
-DCMAKE_C_FLAGS="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \