Skip to content

Commit 86161d6

Browse files
authored
Merge pull request #5985 from akyrtzi/cmake-simplify-swift-install-exclude
2 parents aaa9563 + 07148f1 commit 86161d6

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

cmake/modules/SwiftComponents.cmake

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,7 @@ macro(swift_configure_components)
8585

8686
string(TOUPPER "${component}" var_name_piece)
8787
string(REPLACE "-" "_" var_name_piece "${var_name_piece}")
88-
if("${SWIFT_INSTALL_EXCLUDE_${var_name_piece}}" STREQUAL "")
89-
set(SWIFT_INSTALL_EXCLUDE_${var_name_piece} FALSE)
90-
endif()
91-
if(NOT ${SWIFT_INSTALL_EXCLUDE_${var_name_piece}})
88+
if(NOT SWIFT_INSTALL_EXCLUDE_${var_name_piece})
9289
set(SWIFT_INSTALL_${var_name_piece} TRUE)
9390
endif()
9491
endforeach()

0 commit comments

Comments
 (0)