build: Avoid setting lld flags when using MSVC

This is handled by the ClangCL toolchain
This commit is contained in:
Gabriel Ferreira
2025-01-24 14:30:54 +01:00
parent 4af4c48458
commit b4cd684902

View File

@@ -105,7 +105,7 @@ if(${CLANG} AND APPLE)
set(STATIC_LINK_FLAGS "")
endif()
if(${NS3_FAST_LINKERS})
if(${NS3_FAST_LINKERS} AND (NOT ${MSVC}))
# Search for faster linkers mold and lld, and use them if available
mark_as_advanced(MOLD LLD)
find_program(MOLD mold)