Revert "unittests: Don't install TestPlugin.so"
authorTom Stellard <tstellar@redhat.com>
Thu, 16 Aug 2018 17:15:03 +0000 (17:15 +0000)
committerTom Stellard <tstellar@redhat.com>
Thu, 16 Aug 2018 17:15:03 +0000 (17:15 +0000)
This reverts commit r339897.

This breaks the build on Windows and platforms where loadable modules
aren't supported.

llvm-svn: 339903

llvm/unittests/Passes/CMakeLists.txt

index 415329e..d90df20 100644 (file)
@@ -14,7 +14,7 @@ add_llvm_unittest(PluginsTests
 export_executable_symbols(PluginsTests)
 
 set(LLVM_LINK_COMPONENTS)
-add_llvm_library(TestPlugin MODULE BUILDTREE_ONLY
+add_llvm_loadable_module(TestPlugin
   TestPlugin.cpp
   )