mangayomi-mirror/windows/flutter/generated_plugins.cmake
kodjomoustapha 5fca41dc58 Revert "fix #206"
This reverts commit 7cd4ab860c.
2024-06-29 11:10:14 +01:00

38 lines
1 KiB
CMake

#
# Generated file, do not edit.
#
list(APPEND FLUTTER_PLUGIN_LIST
flutter_qjs
flutter_windows_webview
isar_flutter_libs
media_kit_libs_windows_video
media_kit_video
permission_handler_windows
screen_brightness_windows
screen_retriever
share_plus
url_launcher_windows
window_manager
window_to_front
)
list(APPEND FLUTTER_FFI_PLUGIN_LIST
jni
media_kit_native_event_loop
rust_lib_mangayomi
)
set(PLUGIN_BUNDLED_LIBRARIES)
foreach(plugin ${FLUTTER_PLUGIN_LIST})
add_subdirectory(flutter/ephemeral/.plugin_symlinks/${plugin}/windows plugins/${plugin})
target_link_libraries(${BINARY_NAME} PRIVATE ${plugin}_plugin)
list(APPEND PLUGIN_BUNDLED_LIBRARIES $<TARGET_FILE:${plugin}_plugin>)
list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${plugin}_bundled_libraries})
endforeach(plugin)
foreach(ffi_plugin ${FLUTTER_FFI_PLUGIN_LIST})
add_subdirectory(flutter/ephemeral/.plugin_symlinks/${ffi_plugin}/windows plugins/${ffi_plugin})
list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${ffi_plugin}_bundled_libraries})
endforeach(ffi_plugin)