Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions cmake/modules/GenerateSwiftXCTestMain_FetchDependencies.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,6 @@ FetchContent_MakeAvailable(Hylo-CMakeModules)
list(PREPEND CMAKE_MODULE_PATH ${hylo-cmakemodules_SOURCE_DIR})
find_package(SwiftXCTest REQUIRED)

# See https://github.com/apple/swift-syntax/pull/2454, which will hopefully make this clause
# unnecessary. Without it CMake will fatal error when loading SwiftSyntax on some platforms.
if("${SWIFT_HOST_MODULE_TRIPLE}" STREQUAL "")
execute_process(COMMAND ${CMAKE_Swift_COMPILER}
-print-target-info OUTPUT_VARIABLE target-info)
string(JSON SWIFT_HOST_MODULE_TRIPLE GET ${target-info} target moduleTriple)
endif()

# Not using block() here because FetchContent_MakeAvailable typically causes dependency-specific
# global variables to be set, and I'm not sure to what extent they may be needed
if(YES)
Expand Down