Skip to content
Snippets Groups Projects
Commit 7c1867ea authored by Simon Praetorius's avatar Simon Praetorius Committed by Andreas Dedner
Browse files

Loop over ALL_DEPENDENCIES and CMAKE_BINARY

parent 3f589682
Branches
Tags
1 merge request!1069Make Python Bindings an optional feature if some requirements are not found
Pipeline #42007 passed
Pipeline: Dune Nightly Test

#42009

    ......@@ -98,7 +98,7 @@ dune_execute_process(COMMAND "${Python3_EXECUTABLE}" "${scriptdir}/venvpath.py"
    # for a build directory that already contains a virtual environment.
    # if we haven't found it yet, check in the current build directory - this might be a reconfigure
    if(NOT DUNE_PYTHON_VIRTUALENV_PATH)
    foreach(mod "${ALL_DEPENDENCIES};CMAKE_BINARY")
    foreach(mod ${ALL_DEPENDENCIES} CMAKE_BINARY)
    if(IS_DIRECTORY ${${mod}_DIR}/dune-env)
    set(DUNE_PYTHON_VIRTUALENV_PATH ${${mod}_DIR}/dune-env)
    break()
    ......
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Please register or to comment