mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
utils: pass CMAKE_Swift_COMPILER
This is the variable that the official CMake Swift support uses. Define this so that we can be forward compatible with CMake 3.15.
This commit is contained in:
@@ -3405,6 +3405,10 @@ for host in "${ALL_HOSTS[@]}"; do
|
||||
continue
|
||||
;;
|
||||
*)
|
||||
cmake_options=(
|
||||
${cmake_options[@]}
|
||||
-DCMAKE_Swift_COMPILER:PATH="$(build_directory_bin ${LOCAL_HOST} swift)/swiftc"
|
||||
)
|
||||
results_targets=( "test" )
|
||||
executable_target=""
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user