Showing
2 changed files
with
16 additions
and
0 deletions
| @@ -5,6 +5,9 @@ | @@ -5,6 +5,9 @@ | ||
| 5 | list(APPEND FLUTTER_PLUGIN_LIST | 5 | list(APPEND FLUTTER_PLUGIN_LIST |
| 6 | ) | 6 | ) |
| 7 | 7 | ||
| 8 | +list(APPEND FLUTTER_FFI_PLUGIN_LIST | ||
| 9 | +) | ||
| 10 | + | ||
| 8 | set(PLUGIN_BUNDLED_LIBRARIES) | 11 | set(PLUGIN_BUNDLED_LIBRARIES) |
| 9 | 12 | ||
| 10 | foreach(plugin ${FLUTTER_PLUGIN_LIST}) | 13 | foreach(plugin ${FLUTTER_PLUGIN_LIST}) |
| @@ -13,3 +16,8 @@ foreach(plugin ${FLUTTER_PLUGIN_LIST}) | @@ -13,3 +16,8 @@ foreach(plugin ${FLUTTER_PLUGIN_LIST}) | ||
| 13 | list(APPEND PLUGIN_BUNDLED_LIBRARIES $<TARGET_FILE:${plugin}_plugin>) | 16 | list(APPEND PLUGIN_BUNDLED_LIBRARIES $<TARGET_FILE:${plugin}_plugin>) |
| 14 | list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${plugin}_bundled_libraries}) | 17 | list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${plugin}_bundled_libraries}) |
| 15 | endforeach(plugin) | 18 | endforeach(plugin) |
| 19 | + | ||
| 20 | +foreach(ffi_plugin ${FLUTTER_FFI_PLUGIN_LIST}) | ||
| 21 | + add_subdirectory(flutter/ephemeral/.plugin_symlinks/${ffi_plugin}/linux plugins/${ffi_plugin}) | ||
| 22 | + list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${ffi_plugin}_bundled_libraries}) | ||
| 23 | +endforeach(ffi_plugin) |
| @@ -5,6 +5,9 @@ | @@ -5,6 +5,9 @@ | ||
| 5 | list(APPEND FLUTTER_PLUGIN_LIST | 5 | list(APPEND FLUTTER_PLUGIN_LIST |
| 6 | ) | 6 | ) |
| 7 | 7 | ||
| 8 | +list(APPEND FLUTTER_FFI_PLUGIN_LIST | ||
| 9 | +) | ||
| 10 | + | ||
| 8 | set(PLUGIN_BUNDLED_LIBRARIES) | 11 | set(PLUGIN_BUNDLED_LIBRARIES) |
| 9 | 12 | ||
| 10 | foreach(plugin ${FLUTTER_PLUGIN_LIST}) | 13 | foreach(plugin ${FLUTTER_PLUGIN_LIST}) |
| @@ -13,3 +16,8 @@ foreach(plugin ${FLUTTER_PLUGIN_LIST}) | @@ -13,3 +16,8 @@ foreach(plugin ${FLUTTER_PLUGIN_LIST}) | ||
| 13 | list(APPEND PLUGIN_BUNDLED_LIBRARIES $<TARGET_FILE:${plugin}_plugin>) | 16 | list(APPEND PLUGIN_BUNDLED_LIBRARIES $<TARGET_FILE:${plugin}_plugin>) |
| 14 | list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${plugin}_bundled_libraries}) | 17 | list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${plugin}_bundled_libraries}) |
| 15 | endforeach(plugin) | 18 | endforeach(plugin) |
| 19 | + | ||
| 20 | +foreach(ffi_plugin ${FLUTTER_FFI_PLUGIN_LIST}) | ||
| 21 | + add_subdirectory(flutter/ephemeral/.plugin_symlinks/${ffi_plugin}/windows plugins/${ffi_plugin}) | ||
| 22 | + list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${ffi_plugin}_bundled_libraries}) | ||
| 23 | +endforeach(ffi_plugin) |
-
Please register or login to post a comment