Skip to content

Commit eb12eeb

Browse files
committed
[CMake] Remove SWIFT_CROSS_COMPILING
This appears to be unused after some refactors.
1 parent 4dcea1c commit eb12eeb

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

CMakeLists.txt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -477,12 +477,6 @@ if(NOT SWIFT_LIPO)
477477
find_toolchain_tool(SWIFT_LIPO "${SWIFT_DARWIN_XCRUN_TOOLCHAIN}" lipo)
478478
endif()
479479

480-
if("${SWIFT_NATIVE_LLVM_TOOLS_PATH}" STREQUAL "")
481-
set(SWIFT_CROSS_COMPILING FALSE)
482-
else()
483-
set(SWIFT_CROSS_COMPILING TRUE)
484-
endif()
485-
486480
# Reset CMAKE_SYSTEM_PROCESSOR if not cross-compiling.
487481
# CMake refuses to use `uname -m` on OS X
488482
# http://public.kitware.com/Bug/view.php?id=10326

0 commit comments

Comments
 (0)