Skip to content

Commit c030029

Browse files
authored
Revert "[CMake] Better dependency checking"
1 parent ff7fdc5 commit c030029

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -511,8 +511,6 @@ message(STATUS "C Compiler (${CMAKE_C_COMPILER}) Version: ${CMAKE_C_COMPILER_VER
511511
message(STATUS "C++ Compiler (${CMAKE_CXX_COMPILER}) Version: ${CMAKE_CXX_COMPILER_VERSION}")
512512
if (CMAKE_Swift_COMPILER)
513513
message(STATUS "Swift Compiler (${CMAKE_Swift_COMPILER}) Version: ${CMAKE_Swift_COMPILER_VERSION}")
514-
elseif (SWIFT_BUILD_RUNTIME_WITH_HOST_COMPILER)
515-
message(FATAL_ERROR "Swift Compiler not found and SWIFT_BUILD_RUNTIME_WITH_HOST_COMPILER is set")
516514
else()
517515
message(STATUS "Swift Compiler (None).")
518516
endif()

stdlib/cmake/modules/SwiftSource.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -643,7 +643,7 @@ function(_compile_swift_files
643643
endif()
644644

645645
set(swift_compiler_tool_dep)
646-
if(SWIFT_INCLUDE_TOOLS AND NOT SWIFT_BUILD_RUNTIME_WITH_HOST_COMPILER)
646+
if(SWIFT_INCLUDE_TOOLS)
647647
# Depend on the binary itself, in addition to the symlink.
648648
set(swift_compiler_tool_dep "swift-frontend")
649649
endif()

0 commit comments

Comments
 (0)