Skip to content

Commit b4faed4

Browse files
Merge pull request #40833 from LucianoPAlmeida/fix-cmake-bootstrap
[CMake] Fix condition of cmake_dependent_option macro for BOOTSTRAPPING_MODE
2 parents d97e767 + 7314afd commit b4faed4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ How to build the swift compiler modules. Possible values are
204204
`SWIFT_NATIVE_SWIFT_TOOLS_PATH` (non-Darwin only)
205205
CROSSCOMPILE-WITH-HOSTLIBS: build with a bootstrapping-with-hostlibs compiled
206206
compiler, provided in `SWIFT_NATIVE_SWIFT_TOOLS_PATH`
207-
]=] OFF "NOT CMAKE_GENERATOR STREQUAL \"Xcode\"" OFF)
207+
]=] OFF "NOT XCODE" OFF)
208208

209209
# The following only works with the Ninja generator in CMake >= 3.0.
210210
set(SWIFT_PARALLEL_LINK_JOBS "" CACHE STRING

0 commit comments

Comments
 (0)