Skip to content

Commit d1d20a6

Browse files
authored
Merge pull request #8649 from bnbarham/still-no-unified
Re-expose GTest for now
2 parents 39590b6 + a18f5e7 commit d1d20a6

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

third-party/unittest/CMakeLists.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,11 @@ endif()
4242
# by unittests if these are built.
4343

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

0 commit comments

Comments
 (0)