Skip to content

Temporarily re-expose GTest #7137

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion third-party/unittest/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,11 @@ endif()
# by unittests if these are built.

set(BUILDTREE_ONLY BUILDTREE_ONLY)
set(EXCLUDE_FROM_ALL ON)
# TODO: Swift does not build as part of the LLVM unified build, so it can't find
# GTest when LLVM doesn't export it. Swift should be built in the unified
# build, but we're not there yet. Put this back once Swift gets cleaned up
# a bit. rdar://113340971
# set(EXCLUDE_FROM_ALL ON)
if (LLVM_INSTALL_GTEST)
set(EXCLUDE_FROM_ALL OFF)
set(BUILDTREE_ONLY "")
Expand Down