Skip to content

Commit d3dcb39

Browse files
committed
Fallback to building Cmake from source on all platforms, not just Linux
1 parent 7b1a43b commit d3dcb39

File tree

1 file changed

+0
-3
lines changed
  • utils/swift_build_support/swift_build_support

1 file changed

+0
-3
lines changed

utils/swift_build_support/swift_build_support/cmake.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -256,9 +256,6 @@ def build_cmake(self, source_root, build_root):
256256
# the source and build the source if necessary. Returns the path to the
257257
# cmake binary.
258258
def check_cmake_version(self, source_root, build_root):
259-
if platform.system() != 'Linux':
260-
return
261-
262259
cmake_source_dir = os.path.join(source_root, 'cmake')
263260
# If the source is not checked out then don't attempt to build cmake.
264261
if not os.path.isdir(cmake_source_dir):

0 commit comments

Comments
 (0)