CMake: Fix linker issues on Windows

Co-authored-by: Andrew Kaster <akaster@serenityos.org>
This commit is contained in:
Cameron Youell 2023-08-30 16:46:13 +10:00 committed by Andrew Kaster
commit c5219b0193
Notes: github-actions[bot] 2024-10-20 00:15:48 +00:00
3 changed files with 7 additions and 5 deletions

View file

@ -4,7 +4,7 @@
# SPDX-License-Identifier: BSD-2-Clause
#
if (NOT APPLE AND NOT ANDROID AND NOT LAGOM_USE_LINKER)
if (NOT APPLE AND NOT ANDROID AND NOT WIN32 AND NOT LAGOM_USE_LINKER)
find_program(LLD_LINKER NAMES "ld.lld")
if (LLD_LINKER)
message(STATUS "Using LLD to link Lagom.")