Commit 8bf20bf8 authored by Ben Boeckel's avatar Ben Boeckel
Browse files

ParaViewInstallCMakePackageHelpers: use the loop variable

parent a44a77f3
......@@ -28,11 +28,11 @@ set(paraview_find_package_code)
foreach (_paraview_package IN LISTS _paraview_packages)
_paraview_package_append_variables(
# Standard CMake `find_package` mechanisms.
"${package}_DIR"
"${package}_ROOT"
"${_paraview_package}_DIR"
"${_paraview_package}_ROOT"
# Per-package custom variables.
${${package}_find_package_vars})
${${_paraview_package}_find_package_vars})
endforeach ()
file(GENERATE
......
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