diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-01-09 23:16:01 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-01-17 08:44:52 +0700 |
commit | c9ea40127d02707d9012b680fc89a92a8083f5a8 (patch) | |
tree | 1f0571fc256b6fa54cd5654b570930193f9c07e0 | |
parent | ac9935c8c53de0ce921d570bc3e12f0a91bd69d6 (diff) | |
download | slackbuilds-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.SlackBuild | 3 |
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 \ |