[Infra] Fix version-check workflow (#100090)
[llvm-project.git] / third-party / unittest / UnitTestMain / CMakeLists.txt
blob729ea7e3fa7e240f50f2f3607363a8fd37be1c88
1 set(BUILDTREE_ONLY BUILDTREE_ONLY)
2 if (LLVM_INSTALL_GTEST)
3   set(BUILDTREE_ONLY "")
4 endif ()
6 add_llvm_library(llvm_gtest_main
7   TestMain.cpp
9   LINK_LIBS
10   llvm_gtest
12   LINK_COMPONENTS
13   Support # Depends on llvm::cl
15   ${BUILDTREE_ONLY}
16   )