From b6ad702a0f2a0ea10434ae576a630798f7d4164e Mon Sep 17 00:00:00 2001 From: Ezra Buehler Date: Sat, 20 Jul 2019 15:55:50 +0200 Subject: [PATCH] Samples: fix build for WDEF --- Samples/WDEF/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Samples/WDEF/CMakeLists.txt b/Samples/WDEF/CMakeLists.txt index adb2e73071..106ae3bc5a 100644 --- a/Samples/WDEF/CMakeLists.txt +++ b/Samples/WDEF/CMakeLists.txt @@ -79,5 +79,5 @@ add_application(WDEFShell ) # Again, add some options to make things smaller. -set_target_properties(Dialog PROPERTIES COMPILE_OPTIONS -ffunction-sections) -set_target_properties(Dialog PROPERTIES LINK_FLAGS "-Wl,-gc-sections") +set_target_properties(WDEFShell PROPERTIES COMPILE_OPTIONS -ffunction-sections) +set_target_properties(WDEFShell PROPERTIES LINK_FLAGS "-Wl,-gc-sections")