Skip to content
Snippets Groups Projects
Unverified Commit 4b0db3b4 authored by Lars Bilke's avatar Lars Bilke
Browse files

[cmake] When OGS_USE_PIP=ON cli wrapper uses build dir binaries.

Requires direnv tool.
parent 7f6de7fe
No related branches found
No related tags found
No related merge requests found
......@@ -237,6 +237,7 @@ endif()
set(_envrc_content
"[ -d \"${PROJECT_BINARY_DIR}/.venv\" ] && source ${PROJECT_BINARY_DIR}/.venv/bin/activate"
"export PATH=$PATH:${PROJECT_BINARY_DIR}/${CMAKE_INSTALL_BINDIR}"
"export OGS_USE_PATH=1"
)
if(TFEL_WITH_PYTHON)
set(_envrc_content "${_envrc_content}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment