No CMAKE_Fortran_COMPILER could be found.

I use Intel Fortran on Windows with CMake regularly, previously with Parallel Studio and now with oneAPI (Classic and LLVM). I normally use the Start menu shortcut to the “Intel oneAPI command prompt for Visual Studio” – the 2019/2020 compiler you have also has such a command prompt shortcut in the Windows start menu.

1 Like