[ARM] Add dependency on GlobalISel for unit tests to fix shared libs build
authorNemanja Ivanovic <nemanja.i.ibm@gmail.com>
Sat, 19 Oct 2019 16:40:26 +0000 (16:40 +0000)
committerNemanja Ivanovic <nemanja.i.ibm@gmail.com>
Sat, 19 Oct 2019 16:40:26 +0000 (16:40 +0000)
The unit test uses GlobalISel but the dependency is not listed in the
CMakeLists.txt file which causes failures in shared libs build with GCC.

This just adds the dependency.

Differential revision: https://reviews.llvm.org/D69064

llvm-svn: 375346

llvm/unittests/Target/ARM/CMakeLists.txt

index 443c525..1634c8c 100644 (file)
@@ -8,6 +8,7 @@ set(LLVM_LINK_COMPONENTS
   ARMDesc
   ARMInfo
   CodeGen
+  GlobalISel
   MC
   SelectionDAG
   Support