aboutsummaryrefslogtreecommitdiff
path: root/gis/OTB
diff options
context:
space:
mode:
authorBenjamin Trigona-Harany <bosth@alumni.sfu.ca>2019-11-12 21:45:53 -0800
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-11-23 16:01:57 +0700
commit56da403039468c8c9d38f5ba8c8834b6cde9cb9b (patch)
tree6938c756ef26d7ebef8472df51d1d03ddbe6e612 /gis/OTB
parentaf24c7d6cbe530826201969c41cad968dd62699f (diff)
gis/OTB: Fix comment.
Diffstat (limited to 'gis/OTB')
-rw-r--r--gis/OTB/OTB.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/gis/OTB/OTB.SlackBuild b/gis/OTB/OTB.SlackBuild
index b987864eb107..7497beb90d44 100644
--- a/gis/OTB/OTB.SlackBuild
+++ b/gis/OTB/OTB.SlackBuild
@@ -88,6 +88,7 @@ MONTEVERDI=${MONTEVERDI:-OFF}
BUILD_MONTEVERDI="-DOTB_USE_QWT=$MONTEVERDI -DOTB_USE_GLEW=$MONTEVERDI -DOTB_USE_OPENGL=$MONTEVERDI"
BUILD_QT="-DOTB_USE_QT=${QTGUI:-ON}"
+# TODO: set WRAP_PYTHON=ON when cmake is upgraded
mkdir -p build
cd build
cmake \
@@ -103,7 +104,7 @@ cd build
-DOTB_USE_OPENCV=${OPENCV:-OFF} \
-DOTB_USE_OPENMP=ON \
-DOTB_USE_SHARK=ON \
- -DOTB_WRAP_PYTHON=OFF \ # needs newer cmake (?)
+ -DOTB_WRAP_PYTHON=OFF \
-DOTB_INSTALL_PYTHON_DIR=$(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())") \
-DOTB_WRAP_PYTHON3=ON \
-DOTB_INSTALL_PYTHON3_DIR=$(python3 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())") \