Skip to content
Snippets Groups Projects
Commit b1ff58de authored by Chris Bieneman's avatar Chris Bieneman
Browse files

[CMake] Fixing clang standalone build

I broke this in r287406 and r287407.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@287463 91177308-0d34-0410-b5e6-96231b3b80d8
parent aedeaddd
No related branches found
No related tags found
No related merge requests found
set(LLVM_LINK_COMPONENTS BitWriter Core Object Support)
if(NOT CLANG_BUILT_STANDALONE)
set(tablegen_deps intrinsics_gen)
endif()
add_clang_executable(clang-offload-bundler
ClangOffloadBundler.cpp
DEPENDS
intrinsics_gen
${tablegen_deps}
)
set(CLANG_OFFLOAD_BUNDLER_LIB_DEPS
......
......@@ -24,13 +24,17 @@ if(CLANG_PLUGIN_SUPPORT)
set(LLVM_NO_DEAD_STRIP 1)
endif()
if(NOT CLANG_BUILT_STANDALONE)
set(tablegen_deps intrinsics_gen)
endif()
add_clang_tool(clang
driver.cpp
cc1_main.cpp
cc1as_main.cpp
DEPENDS
intrinsics_gen
${tablegen_deps}
)
target_link_libraries(clang
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment