]> granicus.if.org Git - clang/commitdiff
Attempt to address cmake buildbot failure
authorKeno Fischer <kfischer@college.harvard.edu>
Tue, 26 Aug 2014 22:50:03 +0000 (22:50 +0000)
committerKeno Fischer <kfischer@college.harvard.edu>
Tue, 26 Aug 2014 22:50:03 +0000 (22:50 +0000)
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

unittests/CodeGen/CMakeLists.txt

index 19d3d11a6abf5f825543e25ec3ec0143d2adc546..a34e28b4e35b2050c3197c7aa700849e07cd82ca 100644 (file)
@@ -1,12 +1,13 @@
 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