]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm-project/lld/lib/Core/CMakeLists.txt
Unbreak DRM KMS build by adding the needed compatibility field in the LinuxKPI.
[FreeBSD/FreeBSD.git] / contrib / llvm-project / lld / lib / Core / CMakeLists.txt
1 if(NOT LLD_BUILT_STANDALONE)
2   set(tablegen_deps intrinsics_gen)
3 endif()
4
5 add_lld_library(lldCore
6   DefinedAtom.cpp
7   Error.cpp
8   File.cpp
9   LinkingContext.cpp
10   Reader.cpp
11   Resolver.cpp
12   SymbolTable.cpp
13   Writer.cpp
14
15   ADDITIONAL_HEADER_DIRS
16   ${LLD_INCLUDE_DIR}/lld/Core
17
18   LINK_COMPONENTS
19     BinaryFormat
20     MC
21     Support
22
23   LINK_LIBS
24   ${LLVM_PTHREAD_LIB}
25
26   DEPENDS
27   ${tablegen_deps}
28   )