CMake gets confused by the fact that both LLVM and Clang now have
a CodeGen unittest. Rename the target to avoid that. The new test
was also missing ProfileData (thanks to Julien Lerouge for
pointing that out)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@216499
91177308-0d34-0410-b5e6-
96231b3b80d8
set(LLVM_LINK_COMPONENTS
Support
+ ProfileData
)
-add_clang_unittest(CodeGenTests
+add_clang_unittest(ClangCodeGenTests
BufferSourceTest.cpp
)
-target_link_libraries(CodeGenTests
+target_link_libraries(ClangCodeGenTests
clangAST
clangBasic
clangFrontend