File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -196,13 +196,12 @@ endmacro()
196
196
# product
197
197
# The product name, e.g. Swift or SourceKit. Used as prefix for some
198
198
# cmake variables.
199
- #
200
- # is_cross_compiling
201
- # Whether this is cross-compiling host tools.
202
199
macro (swift_common_standalone_build_config product )
203
200
swift_common_standalone_build_config_llvm (${product} )
204
- swift_common_standalone_build_config_clang (${product} )
205
- swift_common_standalone_build_config_cmark (${product} )
201
+ if (SWIFT_INCLUDE_TOOLS )
202
+ swift_common_standalone_build_config_clang (${product} )
203
+ swift_common_standalone_build_config_cmark (${product} )
204
+ endif ()
206
205
207
206
# Enable groups for IDE generators (Xcode and MSVC).
208
207
set_property (GLOBAL PROPERTY USE_FOLDERS ON )
You can’t perform that action at this time.
0 commit comments