InstallRequiredSystemLibraries: Wrong library path for Intel fortran 2021 (oneAPI)
On Windows in file "C:\Program Files\CMake\share\cmake-3.21\Modules\InstallRequiredSystemLibraries.cmake" at Line 83 and 84
if(WIN32 AND EXISTS "${_Intel_basedir}/../redist/${_Intel_archdir}_win/compiler")
get_filename_component(_Intel_redistdir "${_Intel_basedir}/../redist/${_Intel_archdir}_win/compiler" ABSOLUTE)
should be
if(WIN32 AND EXISTS "${_Intel_basedir}/../../redist/${_Intel_archdir}_win/compiler")
get_filename_component(_Intel_redistdir "${_Intel_basedir}/../../redist/${_Intel_archdir}_win/compiler" ABSOLUTE)
as fas as I can tell from my Intel Fortran installation.
Edited by Brad King