From: NAKAMURA Takumi Date: Mon, 9 Dec 2013 19:04:19 +0000 (+0000) Subject: [CMake] clangDriver: Move LLVM stuff in target_link_library to LLVM_LINK_COMPONENTS. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6b4f43651522697cf3f1ace40c41940d3cc3af5e;p=clang [CMake] clangDriver: Move LLVM stuff in target_link_library to LLVM_LINK_COMPONENTS. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@196798 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Driver/CMakeLists.txt b/lib/Driver/CMakeLists.txt index 0152b19d4c..e874ab8a8b 100644 --- a/lib/Driver/CMakeLists.txt +++ b/lib/Driver/CMakeLists.txt @@ -1,3 +1,9 @@ +set(LLVM_LINK_COMPONENTS + Option + Support + TransformUtils + ) + add_clang_library(clangDriver Action.cpp CC1AsOptions.cpp @@ -25,6 +31,4 @@ add_dependencies(clangDriver target_link_libraries(clangDriver clangBasic - LLVMOption - LLVMTransformUtils )