unittests: Fix library dependency name
authorTom Stellard <tstellar@redhat.com>
Wed, 7 Jul 2021 13:56:15 +0000 (06:56 -0700)
committerTom Stellard <tstellar@redhat.com>
Wed, 7 Jul 2021 13:56:15 +0000 (06:56 -0700)
Corrects the library name of LLVMAsmParser added in
2e4ec3e5d6a3bf7f61bea6898286cba64be7b764.

llvm/unittests/Passes/CMakeLists.txt

index 37b1d42..f9ab51c 100644 (file)
@@ -12,7 +12,7 @@ endif()
 # work with DLLs on Windows (where a shared library can't have undefined
 # references), so just skip this testcase on Windows.
 if (NOT WIN32)
-  set(LLVM_LINK_COMPONENTS Support Passes Core LLVMAsmParser)
+  set(LLVM_LINK_COMPONENTS Support Passes Core AsmParser)
   add_llvm_unittest(PluginsTests
     PluginsTest.cpp
     )