From f3aeb8a3663f3685c02b5b4b9946e0a205d0ab21 Mon Sep 17 00:00:00 2001 From: DUC ANH HOANG Date: Thu, 27 Jul 2023 16:47:39 +0200 Subject: [PATCH] minor update --- cmake/FindSalomeBootstrap.cmake | 3 +++ 1 file changed, 3 insertions(+) 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) -- 2.39.2