[PATCH] D137035: [llvm] [cmake] Set EXCLUDE_FROM_ALL on gtest and TestingSupport

Michał Górny via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 31 07:24:47 PDT 2022


mgorny reopened this revision.
mgorny added a comment.
This revision is now accepted and ready to land.

This apparently broke flang standalone: https://lab.llvm.org/buildbot/#/builders/175/builds/19932

  CMake Error at CMakeLists.txt:173 (target_link_libraries):
    Cannot specify link libraries for target "gtest_main" which is not built by
    this project.

I'm going to guess it's a typo that relied on LLVM accidentally leaking `gtest_main` somewhere? I'm going to look into it more later today and submit a patch.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D137035/new/

https://reviews.llvm.org/D137035



More information about the llvm-commits mailing list