From 2b8bbe0a18e78470c9f10565cb44247571de0c69 Mon Sep 17 00:00:00 2001 From: "radim.karnis" Date: Mon, 7 Aug 2023 16:21:56 +0200 Subject: [PATCH] fix(build_system): Allow dots in the name of an app binary --- tools/cmake/build.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/cmake/build.cmake b/tools/cmake/build.cmake index 58b9d2fa1a..b2dc61c8eb 100644 --- a/tools/cmake/build.cmake +++ b/tools/cmake/build.cmake @@ -645,7 +645,7 @@ function(idf_build_executable elf) # Set the EXECUTABLE_NAME and EXECUTABLE properties since there are generator expression # from components that depend on it - get_filename_component(elf_name ${elf} NAME_WE) + get_filename_component(elf_name ${elf} NAME_WLE) get_target_property(elf_dir ${elf} BINARY_DIR) idf_build_set_property(EXECUTABLE_NAME ${elf_name})