From: Nabil Ghodbane Date: Mon, 19 Jul 2021 14:10:20 +0000 (+0200) Subject: UB20 natif TITANIA - NO /usr/bin/python => use PYTHONBIN instead - opencv + openturns X-Git-Tag: V9_8_0~130 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8294e6de2ef6727364e2b3138673175d06c5d05a;p=tools%2Fsat_salome.git UB20 natif TITANIA - NO /usr/bin/python => use PYTHONBIN instead - opencv + openturns --- diff --git a/products/compil_scripts/opencv.sh b/products/compil_scripts/opencv.sh index b5ac5e9..237bfc4 100755 --- a/products/compil_scripts/opencv.sh +++ b/products/compil_scripts/opencv.sh @@ -14,7 +14,7 @@ if version_ge $VERSION "3."; then echo "*** openCV version $VERSION >= 3." CMAKE_OPTIONS+=" -DBUILD_NEW_PYTHON_SUPPORT=ON" CMAKE_OPTIONS+=" -DBUILD_EXAMPLES:BOOL=ON" - CMAKE_OPTIONS+=" -DPYTHON3_EXECUTABLE=${PYTHON_ROOT_DIR}/bin/python" + CMAKE_OPTIONS+=" -DPYTHON3_EXECUTABLE=${PYTHONBIN}" CMAKE_OPTIONS+=" -DPYTHON3_NUMPY_INCLUDE_DIRS=${NUMPY_INCLUDE_DIR};${NUMPY_INCLUDE_DIR2}" CMAKE_OPTIONS+=" -DWITH_IPP:BOOL=OFF" CMAKE_OPTIONS+=" -DBUILD_opencv_java:BOOL=OFF"