Fix MinGW/CMakeLists.txt.

We do not use "Shim" as a name of MinGW driver, so rename it MinGW.
I don't think the former dependency list was correct. MinGW driver
depends on COFF.

llvm-svn: 312960
This commit is contained in:
Rui Ueyama 2017-09-11 22:03:49 +00:00
parent 7669679e82
commit febfec2b3c
1 changed files with 3 additions and 4 deletions

View File

@ -1,6 +1,6 @@
set(LLVM_TARGET_DEFINITIONS Options.td)
tablegen(LLVM Options.inc -gen-opt-parser-defs)
add_public_tablegen_target(ShimOptionsTableGen)
add_public_tablegen_target(MinGWOptionsTableGen)
if(NOT LLD_BUILT_STANDALONE)
set(tablegen_deps intrinsics_gen)
@ -10,11 +10,10 @@ add_lld_library(lldMinGW
Driver.cpp
LINK_LIBS
lldConfig
lldCore
lldCOFF
${LLVM_PTHREAD_LIB}
DEPENDS
ShimOptionsTableGen
MinGWOptionsTableGen
${tablegen_deps}
)