summaryrefslogtreecommitdiffstats
path: root/llvm/unittests
diff options
context:
space:
mode:
authorDaniel Sanders <daniel_l_sanders@apple.com>2019-10-03 01:49:04 +0000
committerDaniel Sanders <daniel_l_sanders@apple.com>2019-10-03 01:49:04 +0000
commit45f682f47129c05414d4c5ae7be851772273978f (patch)
tree25b50a8f6da7a38db3b197bb7a8929d2d809f809 /llvm/unittests
parentf79f68975d51b389d9f141aa30ab47723a75a868 (diff)
downloadbcm5719-llvm-45f682f47129c05414d4c5ae7be851772273978f.tar.gz
bcm5719-llvm-45f682f47129c05414d4c5ae7be851772273978f.zip
[gicombiner] Make rL373551 compatible with older cmakes
Newer cmakes appear to be more flexible w.r.t object libraries. Convert to a static library so that it works with older cmakes too llvm-svn: 373555
Diffstat (limited to 'llvm/unittests')
-rw-r--r--llvm/unittests/TableGen/CMakeLists.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/unittests/TableGen/CMakeLists.txt b/llvm/unittests/TableGen/CMakeLists.txt
index d90955786f8..47bde04cad0 100644
--- a/llvm/unittests/TableGen/CMakeLists.txt
+++ b/llvm/unittests/TableGen/CMakeLists.txt
@@ -5,7 +5,6 @@ set(LLVM_LINK_COMPONENTS
add_llvm_unittest(TableGenTests
CodeExpanderTest.cpp
- $<TARGET_OBJECTS:obj.LLVMTableGenGlobalISel>
)
-
include_directories(${CMAKE_SOURCE_DIR}/utils/TableGen)
+target_link_libraries(TableGenTests PRIVATE LLVMTableGenGlobalISel)
OpenPOWER on IntegriCloud