summaryrefslogtreecommitdiff
path: root/gis/OTB/OTB.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'gis/OTB/OTB.SlackBuild')
-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 b987864eb1..7497beb90d 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())") \