Skip to content

Commit 55acf4f

Browse files
committed
Fix cmake function parameter name while querying for IMPORTS_NON_OSSA option
1 parent f9cc9e6 commit 55acf4f

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
@@ -2064,7 +2064,7 @@ function(add_swift_target_library name)
20642064
list(APPEND SWIFTLIB_SWIFT_COMPILE_FLAGS "-Xfrontend;-enable-lexical-lifetimes=false")
20652065
endif()
20662066

2067-
if (NOT DEFINED IMPORTS_NON_OSSA)
2067+
if (NOT SWIFTLIB_IMPORTS_NON_OSSA)
20682068
list(APPEND SWIFTLIB_SWIFT_COMPILE_FLAGS "-Xfrontend;-enable-ossa-modules")
20692069
endif()
20702070

0 commit comments

Comments
 (0)