Skip to content

Commit f2e85a2

Browse files
authored
Merge pull request #40250 from cwakamo/eng/PR-85511438-treat-Playgrounds-trains-like-Xcode-trains
[CMake] Also treat builds in Playgrounds trains as "Xcode" builds. This addresses <rdar://problem/85511438>.
2 parents 7d09b30 + 9367125 commit f2e85a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/swift/Runtime/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
set(SWIFT_BNI_OS_BUILD FALSE)
33
set(SWIFT_BNI_XCODE_BUILD FALSE)
44
if(DEFINED ENV{RC_XBS})
5-
if(NOT DEFINED ENV{RC_XCODE} OR NOT "$ENV{RC_XCODE}")
5+
if((NOT DEFINED ENV{RC_XCODE} OR NOT "$ENV{RC_XCODE}") AND (NOT DEFINED ENV{RC_PLAYGROUNDS} OR NOT "$ENV{RC_PLAYGROUNDS}"))
66
set(SWIFT_BNI_OS_BUILD TRUE)
77
else()
88
set(SWIFT_BNI_XCODE_BUILD TRUE)

0 commit comments

Comments
 (0)