How to convert configure options for use with cmake while compiling QE?

I want to convert the following option to the corresponding ones of CMake:

$ ./configure --with-scalapack=intel MPIF90=mpiifort

I find a similar question here [1], but it still hasn't been answered.

Any hints for this issue will be highly appreciated.

[1] https://stackoverflow.com/questions/66360248/how-to-convert-configure-options-for-use-with-cmake

Regards, HZ