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

ParaViewInstallCMakePackageHelpers: set falsey variables locally

This follows the pattern used in
vtk/vtk@14cbef38.
parent f5f7eb63
......@@ -9,6 +9,8 @@ function (_paraview_package_append_variables)
"if (NOT DEFINED \"${var}\")
set(\"${var}\" \"${${var}}\")
list(APPEND _paraview_find_package_variables \"${var}\")
elseif (NOT ${var})
set(\"${var}\" \"${${var}}\")
endif ()
")
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