summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Grund <Flamefire@users.noreply.github.com>2021-07-30 16:05:01 +0200
committerBrad King <brad.king@kitware.com>2021-08-02 15:34:09 -0400
commit2adc45c7f68d6b0904109bd16bf45105dcee5992 (patch)
tree6990216b4ce0df11aff8190044d7e45f50f4d105
parent8e77f495b577b38676aaf274611bc3fb146e51a4 (diff)
downloadcmake-2adc45c7f68d6b0904109bd16bf45105dcee5992.tar.gz
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.
-rw-r--r--Modules/InstallRequiredSystemLibraries.cmake2
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)