We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents aaa9563 + 07148f1 commit 86161d6Copy full SHA for 86161d6
cmake/modules/SwiftComponents.cmake
@@ -85,10 +85,7 @@ macro(swift_configure_components)
85
86
string(TOUPPER "${component}" var_name_piece)
87
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}})
+ if(NOT SWIFT_INSTALL_EXCLUDE_${var_name_piece})
92
set(SWIFT_INSTALL_${var_name_piece} TRUE)
93
endif()
94
endforeach()
0 commit comments