Commit 5f14ca87 authored by Ben Boeckel's avatar Ben Boeckel
Browse files

ParaViewInstallCMakePackageHelpers: set falsey variables locally

This follows the pattern used in
parent f5f7eb63
...@@ -9,6 +9,8 @@ function (_paraview_package_append_variables) ...@@ -9,6 +9,8 @@ function (_paraview_package_append_variables)
"if (NOT DEFINED \"${var}\") "if (NOT DEFINED \"${var}\")
set(\"${var}\" \"${${var}}\") set(\"${var}\" \"${${var}}\")
list(APPEND _paraview_find_package_variables \"${var}\") list(APPEND _paraview_find_package_variables \"${var}\")
elseif (NOT ${var})
set(\"${var}\" \"${${var}}\")
endif () endif ()
") ")
endforeach () endforeach ()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment