[llvm] [cmake] Add possibility to use ChooseMSVCCRT.cmake when include LLVM library
[llvm-core.git] / tools / llvm-lto2 / CMakeLists.txt
blob7f2db01c9c91687fc0d943b017a863a3810b26d3
1 set(LLVM_LINK_COMPONENTS
2   AllTargetsAsmParsers
3   AllTargetsCodeGens
4   AllTargetsDescs
5   AllTargetsInfos
6   BitReader
7   Core
8   Linker
9   LTO
10   MC
11   Object
12   Support
13   Target
14   )
16 add_llvm_tool(llvm-lto2
17   llvm-lto2.cpp
19   DEPENDS
20   intrinsics_gen
21   )