summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 \