mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Merge pull request #29371 from compnerd/bs-dead-variables
build: cleanup unreferenced CMake variables
This commit is contained in:
@@ -1709,18 +1709,6 @@ for host in "${ALL_HOSTS[@]}"; do
|
||||
)
|
||||
fi
|
||||
|
||||
if [[ "${CMAKE_GENERATOR}" == "Xcode" ]] ; then
|
||||
cmake_options=(
|
||||
"${cmake_options[@]}"
|
||||
-DSWIFT_CMARK_LIBRARY_DIR:PATH=$(build_directory ${host} cmark)/src/${CMARK_BUILD_TYPE}
|
||||
)
|
||||
else
|
||||
cmake_options=(
|
||||
"${cmake_options[@]}"
|
||||
-DSWIFT_CMARK_LIBRARY_DIR:PATH=$(build_directory ${host} cmark)/src
|
||||
)
|
||||
fi
|
||||
|
||||
if [[ "${SWIFT_SDKS}" ]] ; then
|
||||
cmake_options=(
|
||||
"${cmake_options[@]}"
|
||||
|
||||
Reference in New Issue
Block a user