1
0
mirror of https://github.com/flutter/samples.git synced 2026-03-30 08:11:40 +00:00

Adding linux support (#482)

This commit is contained in:
Brett Morgan
2020-06-24 07:17:36 +10:00
committed by GitHub
parent 09b26f89b4
commit 5a83eb300e
13 changed files with 349 additions and 28 deletions

View File

@@ -0,0 +1,17 @@
#
# Generated file, do not edit.
#
list(APPEND FLUTTER_PLUGIN_LIST
file_chooser
menubar
)
set(PLUGIN_BUNDLED_LIBRARIES)
foreach(plugin ${FLUTTER_PLUGIN_LIST})
add_subdirectory(flutter/ephemeral/.plugin_symlinks/${plugin}/linux 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)