You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit a21f935
Browse filesBrowse the repository at this point in the historyBrowse files
Linux/Windows: REALPATH-resolve CMake plugin location before reaching into src/native_bridge/
Flutter symlinks the plugin into <example>/<plat>/flutter/ephemeral/.plugin_symlinks/.
CMake follows the symlink to find the CMakeLists.txt but resolves relative
add_subdirectory paths against the literal symlink directory, so
add_subdirectory("../../native_bridge") lands at the wrong path
(<example>/<plat>/flutter/ephemeral/.plugin_symlinks/native_bridge — doesn't exist).
Use get_filename_component(... REALPATH) to canonicalize before joining the path.
Android isn't affected — gradle doesn't use the .plugin_symlinks mechanism.
0 commit comments