Andrew Wilkins fb2090fa73 Avoid linking LLVM component libraries with libLLVM
Patch by Jack Howarth.

When linking to libLLVM, don't also link to the component
libraries that constitute libLLVM.

Differential Revision: http://reviews.llvm.org/D16945

llvm-svn: 260641
2016-02-12 01:42:43 +00:00

10 lines
119 B
CMake

add_llvm_library(gtest_main
TestMain.cpp
LINK_LIBS
gtest
LINK_COMPONENTS
Support # Depends on llvm::cl
)