Skip to content

Commit 8c9adaf

Browse files
Don't enable LLD when we are MSVC
1 parent 567ad13 commit 8c9adaf

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tools/LLDLinker.cmake

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ cmake_push_check_state(RESET)
2525
check_c_source_compiles([[
2626
#include <stdio.h>
2727

28+
#ifdef _MSC_VER
29+
#error No LLD support in MSVC
30+
#endif
31+
2832
int main(void) {
2933
puts("Hello, world!");
3034
return 0;

0 commit comments

Comments
 (0)