From 8d0739ccf52d7dc7f4a86b916af5250b950f2254 Mon Sep 17 00:00:00 2001 From: Foti Dim Date: Sat, 7 Feb 2026 12:38:17 +0100 Subject: [PATCH] Fix example app Windows compilation --- example/windows/CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/example/windows/CMakeLists.txt b/example/windows/CMakeLists.txt index 5156bbb..174008d 100644 --- a/example/windows/CMakeLists.txt +++ b/example/windows/CMakeLists.txt @@ -3,8 +3,9 @@ cmake_minimum_required(VERSION 3.14) project(universal_ble_example LANGUAGES CXX) # The name of the executable created for the application. Change this to change -# the on-disk name of your application. -set(BINARY_NAME "universal_ble") +# the on-disk name of your application. Must match the CMake project/target name +# expected by Flutter (e.g. from pubspec name) or TARGET_FILE_DIR references fail. +set(BINARY_NAME "universal_ble_example") # Explicitly opt in to modern CMake behaviors to avoid warnings with recent # versions of CMake.