Skip to content

Commit b15ee59

Browse files
authored
Merge pull request #363 from adierking/lld
build: fix the clang-cl executable link command
2 parents 44f67b2 + a5aaa47 commit b15ee59

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

cmake/modules/ClangClCompileRules.cmake

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,3 @@
33
# put a -- before the input file path to force it to be treated as a path.
44
string(REPLACE "-c <SOURCE>" "-c -- <SOURCE>" CMAKE_C_COMPILE_OBJECT "${CMAKE_C_COMPILE_OBJECT}")
55
string(REPLACE "-c <SOURCE>" "-c -- <SOURCE>" CMAKE_CXX_COMPILE_OBJECT "${CMAKE_CXX_COMPILE_OBJECT}")
6-
7-
set(CMAKE_C_LINK_EXECUTABLE "<CMAKE_C_COMPILER> <FLAGS> <CMAKE_C_LINK_FLAGS> <LINK_FLAGS> <OBJECTS> -o <TARGET> <LINK_LIBRARIES>")
8-

0 commit comments

Comments
 (0)