Jali: Fix bugs in CMake section (#18447)
Jali: Fix bugs in CMake section (#18447)

Fix variant name and cmake variable.

Co-authored-by: Rao Garimella <972925f4de5cc90c9d778505f3789047067e9067@abyzou.lanl.gov>
iulian787/spack,LLNL/spack,iulian787/spack,iulian787/spack,LLNL/spack,LLNL/spack,LLNL/spack,iulian787/spack,iulian787/spack,LLNL/spack