File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -487,16 +487,6 @@ if(NOT SWIFT_LIPO)
487
487
find_toolchain_tool (SWIFT_LIPO "${SWIFT_DARWIN_XCRUN_TOOLCHAIN} " lipo )
488
488
endif ()
489
489
490
- # Reset CMAKE_SYSTEM_PROCESSOR if not cross-compiling.
491
- # CMake refuses to use `uname -m` on OS X
492
- # http://public.kitware.com/Bug/view.php?id=10326
493
- if (NOT CMAKE_CROSSCOMPILING AND CMAKE_SYSTEM_PROCESSOR STREQUAL "i386" )
494
- execute_process (
495
- COMMAND "uname" "-m"
496
- OUTPUT_VARIABLE CMAKE_SYSTEM_PROCESSOR
497
- OUTPUT_STRIP_TRAILING_WHITESPACE )
498
- endif ()
499
-
500
490
get_filename_component (SWIFT_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR} REALPATH )
501
491
set (SWIFT_BINARY_DIR "${CMAKE_CURRENT_BINARY_DIR} " )
502
492
set (SWIFT_CMAKE_DIR "${CMAKE_CURRENT_SOURCE_DIR} /cmake/modules" )
You can’t perform that action at this time.
0 commit comments