Skip to content

Commit a9b998b

Browse files
committed
Fix cmake function parameter name while querying for IMPORTS_NON_OSSA option
1 parent d55cb2a commit a9b998b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/cmake/modules/AddSwiftStdlib.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2072,7 +2072,7 @@ function(add_swift_target_library name)
20722072
list(APPEND SWIFTLIB_SWIFT_COMPILE_FLAGS "-Xfrontend;-enable-lexical-lifetimes=false")
20732073
endif()
20742074

2075-
if (NOT DEFINED IMPORTS_NON_OSSA)
2075+
if (NOT SWIFTLIB_IMPORTS_NON_OSSA)
20762076
list(APPEND SWIFTLIB_SWIFT_COMPILE_FLAGS "-Xfrontend;-enable-ossa-modules")
20772077
endif()
20782078

0 commit comments

Comments
 (0)