From 2adc45c7f68d6b0904109bd16bf45105dcee5992 Mon Sep 17 00:00:00 2001 From: Alexander Grund Date: Fri, 30 Jul 2021 16:05:01 +0200 Subject: IRSL: Fix check of path to Intel redistdir Fix a cut-n-paste error from commit fd4406f33e (IRSL: Add Intel compiler support, 2017-08-16, v3.10.0-rc1~187^2). Make the checked and used paths match. --- Modules/InstallRequiredSystemLibraries.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/InstallRequiredSystemLibraries.cmake b/Modules/InstallRequiredSystemLibraries.cmake index fa7b125..348b3a9 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) -- cgit v0.12