From: DUC ANH HOANG Date: Thu, 27 Jul 2023 14:47:39 +0000 (+0200) Subject: minor update X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c3448d7b2de170d37cc19e53c15155bba33cf10e;p=tools%2Fconfiguration.git minor update --- diff --git a/cmake/FindSalomeBootstrap.cmake b/cmake/FindSalomeBootstrap.cmake index 69e09d9..6e4ffcd 100644 --- a/cmake/FindSalomeBootstrap.cmake +++ b/cmake/FindSalomeBootstrap.cmake @@ -18,6 +18,9 @@ # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com # +SET(SALOMEBOOTSTRAP_ROOT_DIR "$ENV{SALOMEBOOTSTRAP_ROOT_DIR}") +SET(ENV{PYTHONPATH} "${SALOMEBOOTSTRAP_ROOT_DIR}/__SALOME_BOOTSTRAP__:$ENV{PYTHONPATH}") + EXECUTE_PROCESS(COMMAND python3 -c "import SalomeOnDemandTK; print(SalomeOnDemandTK.__version__)" OUTPUT_VARIABLE SALOMEBOOTSTRAP_VERSION OUTPUT_STRIP_TRAILING_WHITESPACE) IF(SALOMEBOOTSTRAP_VERSION) SET(SALOMEBOOTSTRAP_FOUND TRUE)