Skip to content

Commit 95af47d

Browse files
authored
Merge pull request #7137 from etcwilde/ewilde/re-expose-gtest
Temporarily re-expose GTest
2 parents ab9c00c + ade5638 commit 95af47d

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)