]> SALOME platform Git repositories - tools/configuration.git/commitdiff
Salome HOME
minor update
authorDUC ANH HOANG <dh77501n@dsp1043837>
Thu, 27 Jul 2023 14:47:39 +0000 (16:47 +0200)
committerDUC ANH HOANG <dh77501n@dsp1043837>
Thu, 27 Jul 2023 14:47:39 +0000 (16:47 +0200)
cmake/FindSalomeBootstrap.cmake

index 69e09d9361368e50da3be8cffc6e4f54486ea2eb..6e4ffcdce6687bf76c5212674240846c44ff0800 100644 (file)
@@ -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)