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
- only way to ensure flutter-pi doesn't break with embedder API
updates
- also, that's the whole benefit of the ABI-backwards compatibility
of the embedder header
- don't download embedder header in CMakeLists.txt
- remove FLUTTER_EMBEDDER_HEADER option
# Download the flutter_embedder.h if it's not specified
72
-
if(NOT FLUTTER_EMBEDDER_HEADER)
73
-
74
-
include(FetchContent)
75
-
76
-
if(NOT FLUTTER_ENGINE_SHA)
77
-
78
-
if(NOT CHANNEL)
79
-
set(CHANNEL "stable"CACHESTRING"The flutter channel to be used for downloading the flutter_embedder.h header file. Choose: master, dev, beta, stable" FORCE)
80
-
message(STATUS"Flutter Channel not set, defaulting to stable")
0 commit comments