unittests: Don't install TestPlugin.so

Summary:
add_llvm_loadable_module adds an install target by default, but this
module is only used for a unit test, so we don't need to install it.

Reviewers: philip.pfaffe, thakis

Subscribers: mgorny, llvm-commits

Differential Revision: https://reviews.llvm.org/D50668

llvm-svn: 339897
This commit is contained in:
Tom Stellard 2018-08-16 16:53:06 +00:00
parent 0ce64c81e7
commit b25e645ef1
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ add_llvm_unittest(PluginsTests
export_executable_symbols(PluginsTests)
set(LLVM_LINK_COMPONENTS)
add_llvm_loadable_module(TestPlugin
add_llvm_library(TestPlugin MODULE BUILDTREE_ONLY
TestPlugin.cpp
)