summaryrefslogtreecommitdiffstats
path: root/Modules/Platform
diff options
context:
space:
mode:
authoryrHeTaTeJlb <jjj.bo@yandex.ru>2018-08-07 06:42:15 (GMT)
committerBrad King <brad.king@kitware.com>2018-08-07 12:32:31 (GMT)
commitef6a08f6f7964667e34b4ddf7194fda6b6408795 (patch)
treef6b38c5a0ea68afebf9fcc872aa403787a20b28e /Modules/Platform
parent90df5f673029ae5a9ca1e88fec9ed3aa67ad36d1 (diff)
downloadCMake-ef6a08f6f7964667e34b4ddf7194fda6b6408795.zip
CMake-ef6a08f6f7964667e34b4ddf7194fda6b6408795.tar.gz
CMake-ef6a08f6f7964667e34b4ddf7194fda6b6408795.tar.bz2
Intel: Use xilib as librarian on Windows
We already use `xilink` instead of `link`, so use `xilib` instead of lib too. Suggested-by: Christian Pfeiffer <cpfeiffer@live.de> Issue: #18240
Diffstat (limited to 'Modules/Platform')
-rw-r--r--Modules/Platform/Windows-Intel.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Platform/Windows-Intel.cmake b/Modules/Platform/Windows-Intel.cmake
index ba31001..96b1760 100644
--- a/Modules/Platform/Windows-Intel.cmake
+++ b/Modules/Platform/Windows-Intel.cmake
@@ -11,7 +11,7 @@ set(__WINDOWS_INTEL 1)
include(Platform/Windows-MSVC)
macro(__windows_compiler_intel lang)
__windows_compiler_msvc(${lang})
- string(REPLACE "<CMAKE_LINKER> /lib" "lib" CMAKE_${lang}_CREATE_STATIC_LIBRARY "${CMAKE_${lang}_CREATE_STATIC_LIBRARY}")
+ string(REPLACE "<CMAKE_LINKER> /lib" "xilib" CMAKE_${lang}_CREATE_STATIC_LIBRARY "${CMAKE_${lang}_CREATE_STATIC_LIBRARY}")
foreach(rule CREATE_SHARED_LIBRARY CREATE_SHARED_MODULE LINK_EXECUTABLE)
string(REPLACE "<CMAKE_LINKER>" "xilink" CMAKE_${lang}_${rule} "${CMAKE_${lang}_${rule}}")
endforeach()