]> SALOME platform Git repositories - tools/sat_salome.git/commitdiff
Salome HOME
Use global PYTHONBIN variable for SOLVERLAB compilation (compliant with native use)
authorQuentin Cozette <quentin.cozette@cea.fr>
Thu, 28 Jan 2021 16:56:46 +0000 (17:56 +0100)
committerQuentin Cozette <quentin.cozette@cea.fr>
Thu, 28 Jan 2021 16:56:46 +0000 (17:56 +0100)
products/compil_scripts/SOLVERLAB.sh

index c6aa1553eb334f73de52efbbb6e785e7b73f0169..99794cba708a2a8a3cd03db7876da81c8b418b89 100755 (executable)
@@ -6,8 +6,7 @@ echo "##########################################################################
 
 
 CMAKE_OPTIONS=$CMAKE_OPTIONS" -DPYTHON_ROOT_DIR=${PYTHON_ROOT_DIR}"
-CMAKE_OPTIONS=$CMAKE_OPTIONS" -DPYTHON_EXECUTABLE=${PYTHON_ROOT_DIR}/bin/python"
-CMAKE_OPTIONS=$CMAKE_OPTIONS" -DPYTHON_INCLUDE_DIR=${PYTHON_ROOT_DIR}/include/python${PYTHON_VERSION}"
+CMAKE_OPTIONS=$CMAKE_OPTIONS" -DPYTHON_EXECUTABLE=${PYTHONBIN}"
 CMAKE_OPTIONS=$CMAKE_OPTIONS" -DPYQT5_ROOT_DIR=${PYQT5_ROOT_DIR}"
 CMAKE_OPTIONS=$CMAKE_OPTIONS" -DMATPLOTLIB_ROOT_DIR=${MATPLOTLIB_ROOT_DIR}"
 CMAKE_OPTIONS=$CMAKE_OPTIONS" -DSWIG_EXECUTABLE=${SWIG_ROOT_DIR}/bin/swig"