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 fe586fa + 446db97 commit 386b4b4Copy full SHA for 386b4b4
cmake/modules/SwiftComponents.cmake
@@ -85,7 +85,12 @@ macro(swift_configure_components)
85
86
string(TOUPPER "${component}" var_name_piece)
87
string(REPLACE "-" "_" var_name_piece "${var_name_piece}")
88
- set(SWIFT_INSTALL_${var_name_piece} TRUE)
+ 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}})
92
+ set(SWIFT_INSTALL_${var_name_piece} TRUE)
93
94
endforeach()
95
endmacro()
96
0 commit comments