]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm-project/lld/lib/Driver/CMakeLists.txt
Unbreak DRM KMS build by adding the needed compatibility field in the LinuxKPI.
[FreeBSD/FreeBSD.git] / contrib / llvm-project / lld / lib / Driver / CMakeLists.txt
1 set(LLVM_TARGET_DEFINITIONS DarwinLdOptions.td)
2 tablegen(LLVM DarwinLdOptions.inc -gen-opt-parser-defs)
3 add_public_tablegen_target(DriverOptionsTableGen)
4
5 add_lld_library(lldDriver
6   DarwinLdDriver.cpp
7
8   ADDITIONAL_HEADER_DIRS
9   ${LLD_INCLUDE_DIR}/lld/Driver
10
11   LINK_COMPONENTS
12     Option
13     Support
14
15   LINK_LIBS
16     lldCommon
17     lldCore
18     lldMachO
19     lldReaderWriter
20     lldYAML
21   )
22
23 add_dependencies(lldDriver DriverOptionsTableGen)