Skip to content

Commit

Permalink
build: Avoid setting lld flags when using MSVC
Browse files Browse the repository at this point in the history
This is handled by the ClangCL toolchain
  • Loading branch information
Gabrielcarvfer committed Jan 24, 2025
1 parent 4af4c48 commit b4cd684
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit b4cd684

Please sign in to comment.