fix(build_system): Allow dots in the name of an app binary

This commit is contained in:
radim.karnis 2023-08-07 16:21:56 +02:00
parent 31d87a0c59
commit 2b8bbe0a18

View File

@ -645,7 +645,7 @@ function(idf_build_executable elf)
# Set the EXECUTABLE_NAME and EXECUTABLE properties since there are generator expression # Set the EXECUTABLE_NAME and EXECUTABLE properties since there are generator expression
# from components that depend on it # 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) get_target_property(elf_dir ${elf} BINARY_DIR)
idf_build_set_property(EXECUTABLE_NAME ${elf_name}) idf_build_set_property(EXECUTABLE_NAME ${elf_name})