Skip to content
Snippets Groups Projects
Commit 5a28166e authored by Atkins, Charles Vernon's avatar Atkins, Charles Vernon Committed by GitHub
Browse files

Merge pull request #70 from chuckatkins/fix-adios1-env-var-check

Fix borked logic for testing ADIOS1 env vars
parents 121e1325 205b885a
No related branches found
No related tags found
No related merge requests found
......@@ -107,7 +107,7 @@ set(adios1_config_hints)
foreach(PREFIX_VAR IN ITEMS ADIOS1_ROOT ADIOS1_DIR INSTALL_PREFIX)
if(${PREFIX_VAR})
list(APPEND adios1_config_hints "${${PREFIX_VAR}}/bin")
elseif("$ENV{${PREFIX_VAR}}")
elseif(NOT ("$ENV{${PREFIX_VAR}}" STREQUAL ""))
list(APPEND adios1_config_hints "$ENV{${PREFIX_VAR}}/bin")
endif()
endforeach()
......
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