Skip to content
Snippets Groups Projects
Commit b1e683df authored by Christian Engwer's avatar Christian Engwer
Browse files

[cmake] properly check for defined variable

parent 6f8e773d
Branches
Tags
1 merge request!1074Fix python meta data generation
Pipeline #42641 passed
Pipeline: Dune Nightly Test

#42643

    ......@@ -277,7 +277,7 @@ function(dune_python_install_package)
    set(_cmake_flags "")
    foreach(_dep ${ProjectName} ${ALL_DEPENDENCIES})
    dune_module_to_uppercase(upper ${_dep})
    if(NOT ${HAVE_${upper}} STREQUAL "")
    if(DEFINED ${HAVE_${upper}})
    list(APPEND _cmake_flags "HAVE_${upper}:=${HAVE_${upper}}")
    endif()
    endforeach()
    ......
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Please register or to comment