From 006fc0cd0826b1d8f94cf5bcae6db91728bd6a06 Mon Sep 17 00:00:00 2001 From: imLeGEnDco55 Date: Wed, 25 Feb 2026 00:38:20 -0600 Subject: [PATCH] fix: correct variable name typo in windows/CMakeLists.txt The variable `flutter_embedding_bundled_libraries` should be `flutter_embedder_bundled_libraries` to match the plugin name. Flutter's build system expects `${plugin_name}_bundled_libraries`, so the typo prevented the native DLL from being bundled into Windows builds. Fixes #1 --- windows/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/windows/CMakeLists.txt b/windows/CMakeLists.txt index ce5b23c..5846083 100644 --- a/windows/CMakeLists.txt +++ b/windows/CMakeLists.txt @@ -14,7 +14,7 @@ apply_cargokit(${PROJECT_NAME} ../rust flutter_embedder "") # List of absolute paths to libraries that should be bundled with the plugin. # This list could contain prebuilt libraries, or libraries created by an # external build triggered from this build file. -set(flutter_embedding_bundled_libraries +set(flutter_embedder_bundled_libraries "${${PROJECT_NAME}_cargokit_lib}" PARENT_SCOPE )