Skip to content

Commit cab2a5c

Browse files
[Clang] Include LLVM CodeGen CMake file
1 parent 9ed46fb commit cab2a5c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

clang/lib/CodeGen/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
if(EXISTS ${LLVM_MAIN_SRC_DIR}/include/llvm/CodeGen AND CLANG_BUILT_STANDALONE)
2+
add_subdirectory(${LLVM_MAIN_SRC_DIR}/include/llvm/CodeGen llvm/lib/CodeGen)
3+
endif()
4+
15
set(LLVM_LINK_COMPONENTS
26
AggressiveInstCombine
37
Analysis

0 commit comments

Comments
 (0)