File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -127,13 +127,13 @@ function(_set_pure_swift_package_options target_name package_name)
127127
128128 # Enable package CMO if possible
129129 if (Swift_COMPILER_PACKAGE_CMO_SUPPORT STREQUAL "IMPLEMENTED" )
130- target_compile_options ("${target } " PRIVATE
130+ target_compile_options ("${target_name } " PRIVATE
131131 "SHELL:-package-name ${package_name} "
132132 "SHELL:-Xfrontend -package-cmo"
133133 "SHELL:-Xfrontend -allow-non-resilient-access"
134134 )
135135 elseif (Swift_COMPILER_PACKAGE_CMO_SUPPORT STREQUAL "EXPERIMENTAL" )
136- target_compile_options ("${target } " PRIVATE
136+ target_compile_options ("${target_name } " PRIVATE
137137 "SHELL:-package-name ${package_name} "
138138 "SHELL:-Xfrontend -experimental-package-cmo"
139139 "SHELL:-Xfrontend -experimental-allow-non-resilient-access"
You can’t perform that action at this time.
0 commit comments