[llvm] Support: allow building with non-C/C++ language linkers (PR #65634)
Tobias Hieta via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 7 23:34:51 PDT 2023
================
@@ -79,7 +79,7 @@ endif( MSVC OR MINGW )
# Delay load shell32.dll if possible to speed up process startup.
set (delayload_flags)
if (MSVC)
- set (delayload_flags delayimp -delayload:shell32.dll -delayload:ole32.dll)
+ set (delayload_flags $<$<NOT:$<LINK_LANGUAGE:Swift>>:"SHELL:delayimp -delayload:shell32.dll -delayload:ole32.dll">)
----------------
tru wrote:
You dropped the SHELL line now, is that because it didn't work with older CMake?
https://github.com/llvm/llvm-project/pull/65634
More information about the llvm-commits
mailing list