1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 12:43:36 +01:00
llvm-mirror/utils/unittest/UnitTestMain/CMakeLists.txt
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
)