Skip to content

Commit c7b21e3

Browse files
authored
Merge pull request #3390 from modocache/3316-add-module-depends-android
[CMake] Expand SWIFT_MODULE_DEPENDS_* to Android
2 parents 0e37035 + 3d566a3 commit c7b21e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/modules/AddSwift.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1204,7 +1204,7 @@ function(add_swift_library name)
12041204
elseif("${sdk}" STREQUAL "FREEBSD")
12051205
list(APPEND swiftlib_module_depends_flattened
12061206
${SWIFTLIB_SWIFT_MODULE_DEPENDS_FREEBSD})
1207-
elseif("${sdk}" STREQUAL "LINUX")
1207+
elseif("${sdk}" STREQUAL "LINUX" OR "${sdk}" STREQUAL "ANDROID")
12081208
list(APPEND swiftlib_module_depends_flattened
12091209
${SWIFTLIB_SWIFT_MODULE_DEPENDS_LINUX})
12101210
endif()

0 commit comments

Comments
 (0)