diff options
-rw-r--r-- | Modules/InstallRequiredSystemLibraries.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/InstallRequiredSystemLibraries.cmake b/Modules/InstallRequiredSystemLibraries.cmake index fa7b125f90..348b3a9c12 100644 --- a/Modules/InstallRequiredSystemLibraries.cmake +++ b/Modules/InstallRequiredSystemLibraries.cmake @@ -87,7 +87,7 @@ foreach(LANG IN ITEMS C CXX Fortran) elseif(APPLE) get_filename_component(_Intel_redistdir "${_Intel_basedir}/../../compiler/lib" ABSOLUTE) else() - if(EXISTS "${_Intel_basedir}/../lib/${_Intel_archdir}_lin") + if(EXISTS "${_Intel_basedir}/../lib/${_Intel_archdir}") get_filename_component(_Intel_redistdir "${_Intel_basedir}/../lib/${_Intel_archdir}" ABSOLUTE) else() get_filename_component(_Intel_redistdir "${_Intel_basedir}/../../compiler/lib/${_Intel_archdir}_lin" ABSOLUTE) |